ReleaseEngineering/PuppetAgain/Modules/puppet: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


= puppet::atboot =
= puppet::atboot =
This runs puppet at boot.  It is used for any subclass of <tt>toplevel::slave</tt>
This runs puppet at boot.  It is used for any subclass of <tt>toplevel::slave</tt>.  The startup process blocks until puppet has run successfully, and reboots after a number of unsuccessful runs.

Revision as of 21:48, 1 December 2011

This module handles installing, updating, and running puppet.

The puppet class is imported in toplevel::base, and takes care of installing and configuring puppet. Releng uses two modes of puppet startup, so there are two classes that must *also* be included to make sure puppet actually runs.

puppet::periodic

This runs puppet the "normal" way - puppet consults the puppetmaster every 30m or so. It is used for any subclass of toplevel::server.

puppet::atboot

This runs puppet at boot. It is used for any subclass of toplevel::slave. The startup process blocks until puppet has run successfully, and reboots after a number of unsuccessful runs.