Displaying 5 results from an estimated 5 matches for "foreman_url".
2010 Jun 17
6
Foreman / external_node.rb
...etc/puppet/external_node.rb
node_terminus = exec
The enternal_node.rb script is the one that came with foreman:
#!/usr/bin/ruby
# a simple script which fetches external nodes from Foreman
# you can basically use anything that knows how to get http data, e.g.
wget/curl etc.
# Foreman url
foreman_url="https://hostname:443"
require ''net/http''
foreman_url += "/node/#{ARGV[0]}?format=yml"
url = URI.parse(foreman_url)
req = Net::HTTP::Get.new(foreman_url)
res = Net::HTTP.start(url.host, url.port) { |http|
http.request(req)
}
case res
when Net::HTTPOK
put...
2010 Jun 09
12
Foreman -- Reporting
Hello All,
I don''t seem to be able to get reports to display on the foreman
interface. I copied extras/puppet/foreman/files/foreman-report.rb to /
usr/lib/ruby/site_ruby/1.8/puppet/reportsforeman.rb, instead of /usr/
lib/ruby/1.8/puppet/reports/foreman.rb. Config: Centos5.4, Apache/
Passenger, Puppet 0.25.4.
The reports are coming from the clients, because I can see them
in
2013 Jul 25
2
No reports in foreman
Dear all
I am trying to set up reports in foreman, but foreman tells me to configure
it.
What am I doing wrong?
I have on the puppet master:
/var/lib/puppet/reports/foreman.rb
with $foreman_url=http://rh6-puppet-master
Do I need the port?
/etc/puppet/puppet.conf with in [main] reports = log, foreman
I restarted the service service puppetmaster restart
in /var/log/messages I find: No report named ''foreman''
On the puppet client I added the line report = true to the...
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
Hello All,
So I finally got around to start to cut over node definitions
from standard flat files to external nodes (foreman), and getting
error message: "Error 400 on SERVER: Could not find node ''nodename'';
cannot compile" - So basically it can''t pick up the node from the
external node config.
When I test the fetching of the yaml file it seems to work
2012 Apr 27
6
trouble w/ Foreman as ENC, agents and environments
Hi,
I have a Puppet Enterprise (2.0) puppetmaster running with Foreman,
and having trouble getting it working as an External Node Classifier.
In short, if I manually add a test client into site.pp, it will
retrieve the proper catalog / classes, but I would like to avoid
having to do that. I''m also using environments (production/testing/
development) as well, but think I have most of