ReleaseEngineering/Puppet/Usage: Difference between revisions

Line 12: Line 12:
* The packages can have different sections or "Types" that can be "exec", "user", "package", "file", "service"
* The packages can have different sections or "Types" that can be "exec", "user", "package", "file", "service"
* You have to enter as the "root" user for the puppet masters and the repo is in /etc/puppet/manifests. '''You don't have to do any reconfiguration''' but just apply your patch or checkout your changes.
* You have to enter as the "root" user for the puppet masters and the repo is in /etc/puppet/manifests. '''You don't have to do any reconfiguration''' but just apply your patch or checkout your changes.
'''NOTE: Careful what you do with the checkout since you can loose the locally added password.''' Run hg diff if you don't know what I am saying.
'''NOTE: Careful what you do with the checkout since you can lose the locally added password.''' Run hg diff if you don't know what I am saying.
* Test that what you are adding gets picked up by the slave. To do so log in as "root" on a staging slave and run this:
* Test that what you are adding gets picked up by the slave. To do so log in as "root" on a staging slave and run this:
  puppetd --test --server staging-puppet.build.mozilla.org
  puppetd --test --server staging-puppet.build.mozilla.org
977

edits