Changes

Jump to: navigation, search

Bcfg2 Configuration

127 bytes added, 10:23, 14 March 2012
Configuring Groups
===Configuring Groups===
The configuration for groups is in /var/lib/bcfg2/Metadata/groups.xml. A group's definition can include configuration elements and other groups nested within it. Clients associated with groups inherit elements from child groups associated with that group as well. For example, given a group called "FileServer" which has a nested group "Fedora", any client associated with the "FileServer' group would also inherit configuration options from "Fedora". This must be carefully considered when determining group layout.
Groups can be assigned attributes in their declarations. There are several, but the the main ones this documentation is concerned with are '''name''', '''public''' and '''default'''. The '''name''' attribute is self explanatory, declaring the name of the group and must be included in any group declaration. When '''public''' is set to true, clients can add themselves to groups without being declared in the clients.xml file. '''Default''' simply indicates a default group that clients who are unassociated to other groups automatically belong to.
 
The following illustrates the example above:
 
 
<pre>
<Groups>
<Group name="FileServer>
<Group name="Fedora" />
</Group>
 
<Group name="Fedora" profile="true" default="true" />
</Groups>
</pre>
===Configuring Clients===
1
edit

Navigation menu