Open main menu

CDOT Wiki β

Changes

Bcfg2 Configuration

224 bytes added, 11:26, 16 March 2012
TCheetah
The main purpose of TCheetah is to enable dynamic file content to be generated based off of client details, say if a particular configuration file needs a hostname. The /var/lib/bcfg2/TCheetah directory uses a similar structure to the [[#Cfg|Cfg]] plugin, and can use [[#G Files|G]] and [[#H Files|H]] files. However, the template files must be named template.
 
The contents of the files themselves are similar to configuration files, however there are a number of variables that can be used in the files themselves. These variables all start with $self.metadata and are as follows:
=Sources=
1
edit