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 [agent] section in the /etc/puppet/config file. Best regards Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
I have my foreman running over Passenger, but if you are using the default webrick, you need to specify the port. The default is 3000. On Thursday, July 25, 2013 8:04:47 AM UTC-4, Andreas Dvorak wrote:> > 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 [agent] section > in the /etc/puppet/config file. > > Best regards > Andreas >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
My problem is solved. I had to add the hostname with domain on the Foreman web gui More > Settings > Auth > trusted_puppetmaster_hosts And the file foreman.rb needs to be put in /usr/lib/ruby/site_ruby/1.8/puppet/reports thank you Andreas Am Donnerstag, 25. Juli 2013 19:15:37 UTC+2 schrieb Larry Long:> I have my foreman running over Passenger, but if you are using the default > webrick, you need to specify the port. The default is 3000. > > > > > On Thursday, July 25, 2013 8:04:47 AM UTC-4, Andreas Dvorak wrote: >> >> 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 [agent] >> section in the /etc/puppet/config file. >> >> Best regards >> Andreas >> >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.