Open main menu

CDOT Wiki β

Changes

Bcfg2 Configuration

138 bytes added, 11:55, 14 March 2012
Bundler
===Bundler===
Bundles are a means of defining configuration elements to be pushed out to clients. Bundles are defined in /var/lib/bcfg2/Bundler as XML files, the contents of which are define the name of the file bundle and where what it located on configures. Bundles are assigned to groups in the servergroups. xml file using the following entry placed within the group tags:<pre><bundle name="BUNDLE NAME" /></pre> ====File Bundles====Bundle declarations for files must also contain a declaration of the file path. For example: if there is a bundle used named "hosts" which contains the file "/etc/hosts", there would need to be a file present in /var/lib/bcfg2/Bundler called "hosts.xml". The contents of such a file are as follows:
<pre>
</pre>
The files themselves are subject to special rules which will be discussed in the Cfg section.  ====Package Bundles====Bundles can also be used to define packages that must be installed. This requires additional configurationwhich will be discussed in the Packages section. The format for that is as follows:
<pre>
</Bundle>
</pre>
 
Bundles are assigned in groups.xml file using the following entry placed within the group tags:
<pre>
<bundle name="BUNDLE NAME" />
</pre>
 
====File Bundles====
Herpaderp
 
 
====Package Bundles====
=Sources=
1
edit