Thanks for the advice, now something really nasty happened, lucky me this is the test environment, I lost all the client keys
Before enabling foreman I had: reports = store, puppetdb Then I changed to the following and restarted the service: reports = log, foreman When I executed puppet agent -t on the client node I got an error: Error: Could not send report: SSL_connect SYSCALL returned=5 errno=0 state=unknown state Listing the certs on the server only shows the server itself, I reverted back the report configuration I had before but same issue, so , did I do something wrong that I lost all the client certs? Thanks Regards El jueves, 6 de julio de 2017, 19:29:13 (UTC-3), Asher Schaffer escribió: > > The guide you referenced is for foreman 1.3, I assume you are using a > later version of foreman? Here is the latest documentation: > https://theforeman.org/manuals/1.15/index.html#3.5.4PuppetReports > > On Thu, Jul 6, 2017 at 12:35 PM, Kernel Panic <[email protected] > <javascript:>> wrote: > >> Hi guys, hope you are doing well. >> >> I'm trying to configure puppet reports using this guide: >> https://theforeman.org/manuals/1.3/index.html#3.5.4PuppetReports >> I copied the file >> to /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/reports/foreman.rb >> and the I configured the following: >> >> $foreman_url='<%= @https://servername:8443 -%>' >> >> # if CA is specified, remote Foreman host will be verified >> $foreman_ssl_ca = "<%= @/etc/puppetlabs/foreman/ssl/ca/ca.pem -%>" >> # ssl_cert and key are required if require_ssl_puppetmasters is enabled >> in Foreman >> $foreman_ssl_cert = "<%= >> @/etc/puppetlabs/foreman/ssl/certs/foreman.local.pem -%>" >> $foreman_ssl_key = "<%= >> @/etc/puppetlabs/foreman/ssl/private_keys/foreman.local.pem -%>" >> >> On puppet.conf >> storeconfigs = true >> storeconfigs_backend = puppetdb >> reports = store,puppetdb,foreman >> >> >> But in the logs I get this error: >> >> Puppet Report processor failed: Could not send report to Foreman at <%= @ >> https://servername:8443 -%>/api/reports: bad URI(is not URI?): <%= @ >> https://servername:8443 -%> >> >> Using: >> puppetserver version: 2.7.2 >> puppet -V >> 4.10.1 >> >> Can you please help me on this? >> >> Thanks >> Regards >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
