On RHEL, using the rpm packages for foreman and puppet, I had to copy / usr/share/foreman/extras/puppet/foreman/files/foreman-report.rb to / usr/lib/ruby/site_ruby/1.8/puppet/foreman.rb and everything works swimmingly.
Also, uncomment #reports=log, foreman in puppetmasterd... it may still work in main, but I put it in the puppetmasterd stanza. Hope that helps you too! --Ryan On Jun 9, 11:13 am, CraftyTech <hmmed...@gmail.com> 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.