Ask Your Question

do puppet agents still run if puppet master is unreachable?

asked 2014-05-20 17:31:15 -0600

sssssmile gravatar image

I have a puppet master server that will be down for hardware maintenance.
I would like to know if puppet agents are still going to run successfully while the puppet master is down.

I am using open source puppet.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-20 17:52:49 -0600

spuder gravatar image

Puppet uses a pull model.

The interval that puppet executes is defined in the /etc/puppet/puppet.conf file. The default is 30 minutes.

You can simulate what will happen when puppet attempts to execute the puppet run, and no master is available.

puppet agent --verbose --noop --test --no-daemonize

Hint: You will see the following output

Error: Could not retrieve catalog from remote server: Connection refused - connect(2)
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Connection refused - connect(2)

The puppet master won't show any failures during the time that it is down, instead it will just have a gap in the history.

edit flag offensive delete link more


To clarify (or perhaps a follow up question): will the compiled catalog that each node already has continue to run every 30 minutes, or will it simply fail because the puppet master is no longer reachable?

sssssmile gravatar imagesssssmile ( 2014-05-21 10:52:29 -0600 )edit

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


Asked: 2014-05-20 17:31:15 -0600

Seen: 826 times

Last updated: May 20 '14