For what it is worth, to solve a similar problem with dashboard
(distributing puppet_dashboard.rb for reporting), I just stuck it in
modules/dashboard/lib/puppet_dashboard.rb with puppet.conf:
pluginsync=true. Then puppet distributes it automatically into a lib
directory and things work nice and happy.
On 06/09/2010 10:13 AM, CraftyTech wrote:
Correction: I copied the foreman.rb to /usr/lib/ruby/site_ruby/1.8/
puppet/reports/foreman.rb from extras/puppet/foreman/files/foreman-
report.rb. The instructions called for the file to be copied to /usr/
lib/ruby/1.8/puppet/reports, but that's not the directory structure
that I have. I also made the file executable.
Thanks,
On Jun 9, 11:09 am, CraftyTech<hmmed...@gmail.com> wrote:
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 /var/lib/puppet/reports. I just don't seem to be able to display
them on Foreman. Here's my puppet.conf:
[main]
vardir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
reports= log, foreman
[puppetmasterd]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
modulepath = $confdir/modules
#reports=log, foreman
storeconfigs = true
dbadapter = mysql
dbuser = app_puppet
dbpassword = password
dbserver = localhost
dbsocket = /sql/mysql/mysql.sock
rrddir=/var/lib/puppet/rrd
rrdinterval=$runinterval
rrdgraph=true
[puppetd]
classfile = $vardir/classes.txt
report = true
localconfig = $vardir/localconfig
What am I missing here? Thanks,
Henry
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.