Confirmed users
1,018
edits
(note the different versions of puppet) |
No edit summary |
||
| Line 214: | Line 214: | ||
Be sure to do this on all Puppet masters. | Be sure to do this on all Puppet masters. | ||
== Staging changes | == Puppet Environments == | ||
=== Staging changes === | |||
<pre> | <pre> | ||
armenzg: if you know of a script or a command that could catch stupid things like this | armenzg: if you know of a script or a command that could catch stupid things like this | ||
| Line 227: | Line 229: | ||
catlee: armenzg: we have that set up on master-puppet1 if you want to look | catlee: armenzg: we have that set up on master-puppet1 if you want to look | ||
</pre> | </pre> | ||
=== Persisting Environment After a Reboot === | |||
To have your environment setting persisted after a reboot: | |||
* on the server, edit <code>env/modules/puppet/templates/puppet.conf.erb</code> and add <code>environment = username</code> to the <code>[agent]</code> section. | |||
* on the client, run <code>$ puppetd -vt --environment=username</code> | |||
Reboot and verify that <code>/etc/puppet/puppet.conf</code still has the environment setting in place. | |||
== Deploy changes == | == Deploy changes == | ||