Bcfg2 SOP

From CDOT Wiki
Revision as of 10:55, 30 March 2012 by Jacwang (talk | contribs)
Jump to: navigation, search

Before making any changes to the configuration management system, please familiarize yourself with the Bcfg2 Configuration document.

Git and Changelogs

The directory of "/var/lib/bcfg2" is controlled by a git repository. After every change, please run the command:

git commit -am "Commit Message"

This will allow us to track changes to the BCFG2 repository.

Adding Servers

To add a new client to bcfg2, modify "/var/lib/bcfg2/Metadata/clients.xml and add an entry similar to the one below:

<Client profile="primary-group" pingable="Y" pingtime="0" name="hostname" />

The hostname should match the first entry in /etc/hosts for that builder. This is because the reverse lookup of the IP address of this host should match the hostname given in clients.xml. The entry "primary-group" should be a builder model, either trimslice, efika, guruplug or panda.

Modifying Configuration

File Bundles

Package Bundles