Hi: I am having an issue integrating my Puppet server with Foreman (Katello in this case).
The master is running 3.7.5 and was setup outside of Foreman. The capsule (smart proxy) software was installed and configured on the Puppet master. The master was then registered as a smart proxy in Foreman and it showed capabilities of Puppet and PuppetCA. I then try to import my environments (directory environments) and received a 406 error within Foreman. Checking the Apache logs I received the following error: ===> error_log ==< [Wed Apr 29 09:30:05 2015] [error] [client 10.20.69.21] File does not exist: /usr/share/puppet/rack/puppetmasterd/public/v2.0 My rack configuration specifies /usr/share/puppet/rack/puppetmasterd/public as my document root and config.ru is placed into /usr/share/puppet/rack/puppetmasterd. As it was complaining about no public/v2.0 directory I created that (ended up having to create v2.0/environments/ENV). Doing so didn't resolve my issue. Foreman still received a 406 error but the HTTP logs shows a 301 return code in the access log. As a test I moved Apache out of the way and just started up puppetmaster. In this scenario the masterhttplog showed a 200 response code in response to the API call from the smart proxy yet no environments showed up in Foreman. My first issue would be to correct the Apache + rack configuration. Followed the installation document outlined on the Official Puppet webpage. Thanks -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2BNsY5iQGSj2GOHo%2BLLVoKg%2B8ii92bBns7Hj3Nn5Ep9V9m8mXQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
