-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Mastering Puppet
By :
When every node requests an object from the Puppet master, they inform the Puppet master of their environment. Depending on how the master is configured, the environment can change the set of modules, the contents of hiera, or the site manifest (site.pp). The environment is set on the agent in their puppet.conf file or on the command line with puppet agent --environment.
In addition, environment may also be set from both the ENC and the LDAP node terminus. In Puppet version 3, setting the environment from the ENC overrides the setting in puppet.conf. If no environment is set, then production, which is the default environment, is applied.
On the master, if a configuration block's name matches the environment's name, then the settings in that block will take effect for the nodes that use that environment.
Environment names cannot be the same as that of the main config blocks of the puppet.conf file (main, master, agent, and so on).
The configuration block can contain...
Change the font size
Change margin width
Change background colour