Puppet

From Warwick Student Cinema
Revision as of 17:48, 9 October 2012 by Timdavidson (talk | contribs) (New page: Puppet is a configuration management system. System configuration is stored on the puppetmaster (hostname puppet), and other servers use the puppet agent to periodically pull its configura...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Puppet is a configuration management system. System configuration is stored on the puppetmaster (hostname puppet), and other servers use the puppet agent to periodically pull its configuration.

The configuration is defined in terms of packages, files and services. A manifest defines which packages, files and services need to exist on the respective client. Puppet configuration is stored in bzr to provide version control.

Editing configuration

In a directory of your choice run:

bzr checkout /mnt/storage/bzr/puppet-config/trunk puppet-config

This will checkout the current config into the directory puppet-config. Make any required changes to this local checkout, then commit using

bzr commit

To make the configuration live,

ssh puppet
sudo update-puppet

Wait for the clients to pull the configuration (every 30 mins). Check http://puppet to view the puppet dashboard.