Solved!!
So here is the answer - I had sites.pp
not site.pp
Thanks @Shane Madden
debug: importing '/etc/puppet/manifests/nodes.pp' in environment production
If you are including nodes.pp in your site.pp should show up in --debug logging.
I am having a problem diagnosing a base puppet master / client issue. The puppet master is running as another server name and is set correctly in /etc/puppet/puppet.conf file. Both file and service command are not functioning on the client. No errors any where in debug mode.
Here is a breakdown:
- Client and master are talking correctly. I run both in --no-daemonize --debug and they are chatting nicely - no errors or warnings.
- If I do a
puppet apply site.pp
on the client side it work. I am removing thenode
parens. - The puppet file on the server parses correctly.
- I worked around the "Could not retrieve fact fqdn" error by setting the hostname in the /etc/hosts file.
It appears that the client is not picking up the site.pp node name, and I have used default. Or for some reason the puppet command is not running.
I have tried doing a simple file sync and a service command, and both are not running correct.
The debug output on the master show's it received the report from the client.
How do I get more debugging information beside --debug
.
Thanks for the help in advance!
site.pp
located, and is your master throwing any errors about being unable to load it? Does your client system have anything in its cached catalog at/var/lib/puppet/client_data/catalog
?