I have a computer that has the puppet client configured, enabled, and running, but it's not pulling changes from the master on its own. If I do a puppet agent -t
it pulls the changes just fine. Which logs should I check to find out why it's not pulling on its own?
Asked
Active
Viewed 849 times
-1

LINUX G33NYUS
- 125
- 4
-
Puppet's logs would be a good start. – Dec 13 '16 at 23:56
-
I have logs on the puppet master disabled, are there any logs on the puppet client machine that will have useful information? – LINUX G33NYUS Dec 14 '16 at 00:16
-
Yes, if it's running. If you're having a problem with the client, the client logs is the first place you should look. – Dec 14 '16 at 00:52
-
The agent usually logs to syslog by default, so check `/var/log/{messages,syslog}` or similar. – Dominic Cleal Dec 14 '16 at 10:20
1 Answers
1
It's hard answering your question, since you didn't specify the puppet version number you are using.
Since you are able to run the puppet agent manually, it seems like this is not a puppet.conf or firewall issue.
Please try the following -
- make sure that the puppet agent is enabled -
puppet --enable
- edit /etc/default/puppet, make sure that START is set to yes -
START=yes - make sure that the puppet agent daemon is running -
/etc/init.d/puppet restart
- check the logs on your system, the relevant files should be -
/var/log/syslog
/var/log/puppet/puppet.log

Gilad Sharaby
- 206
- 1
- 5
-
-
@ AWippler changing to restart instead of start, as you've suggested. thanks! – Gilad Sharaby Jan 02 '17 at 14:24