Ask Your Question
0

Puppet/Foreman: Nodes are out of sync

asked 2016-04-18 10:50:34 -0500

SPQRInc gravatar image

I got a little problem: I installed puppet agent on some nodes. I'm managing the nodes with foreman.

Now some nodes are "out of sync" until I run puppet agent -t on the node manually.

The service is running on the nodes:

root@node1:/var/log# ps aux | grep puppet
root     10079  0.0  0.0   9240   880 pts/0    R+   17:43   0:00 grep puppet
root     31645  0.0  0.2 196188 36780 ?        Ssl  14:17   0:02 /usr/bin/ruby /usr/bin/puppet agent

root@node1:/var/log# service puppet status
[ ok ] agent is running.

What can I do here?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-04-18 14:31:26 -0500

virtblackbelt gravatar image

How often are you running Puppet and what is your puppetinterval set to in your Foreman Settings? Hosts will report as out of sync if they haven't been updated in puppetinterval+5 minutes, which is generally set to 30 by default (so 35 minutes). Try upping the value of puppet interval to be something larger than 2x as often as you run puppet.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-04-18 10:50:34 -0500

Seen: 241 times

Last updated: Apr 18 '16