Ask Your Question

What is the best way to run puppet on clients that may be out of contact for an extended period of time?

asked 2012-12-19 01:03:02 -0600

khoury gravatar image

updated 2012-12-19 19:28:50 -0600

If I have clients that are disconnected from the Puppet Master for an extended period of time, what's the best way to run them? Apparently the agent uses the run interval as the cache expiration.


  • Central Reporting/Management (Master/Dashboard)

My ideas so far:

  • Use templates for config files so they are cached on the client
  • Run as a job and increase the run interval to a very long period of time (this extends the life of the cache)
edit retag flag offensive close merge delete


Did you ever come up with a solution?

Ancillas gravatar imageAncillas ( 2013-04-10 10:17:28 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2012-12-19 05:55:02 -0600

R.I.Pienaar gravatar image

If you are in a position where it is ok to put the source modules - all the pp files, templates etc - on the file systems of these often disconnected hosts you can run them without a puppet master.

There are various blog posts found on google using the search term 'masterless puppet' like

Your problem is then one of getting the code on the machine, a simple rsync or something will do - and during disconnected times the node will run happily from the local code including copying any files etc

Pay close attention ... (more)

edit flag offensive delete link more


Unfortunately part of the requirements are central reporting/management. I've updated my question to reflect what should have been there in the first place.

khoury gravatar imagekhoury ( 2012-12-19 19:27:51 -0600 )edit

answered 2013-04-10 09:01:35 -0600

tripledes gravatar image

This is just an idea, haven't tested it or even I'm not sure if the whole idea makes any sense ... :-)

Reports seems to be saved locally on agents, on my standard configuration I found them in "/var/lib/puppet/reports/${fqdn}/" in yaml format.

If you plan to use puppet dashboard, it has a URL for uploading reports so I think it might be worth trying to put those reports with a custom script to your puppet dashboard once you have your communication back.

The first possible problem I can think off is timing...meaning that I don ... (more)

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


Asked: 2012-12-19 01:03:02 -0600

Seen: 417 times

Last updated: Apr 10 '13