Changes between Version 6 and Version 7 of Plugins/TGenshi
- Timestamp:
- 09/22/09 14:22:13 (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Plugins/TGenshi
v6 v7 19 19 }}} 20 20 21 The TGenshi plugin makes use of a Cfg-like directory structure located in in a TGenshi subdirectory of your repository, usually /var/lib/bcfg2/TGenshi. Each file has a directory containing two file types, template and info. Templates are named according to the genshi format used; template.txt uses the genshi text format, and template.xml uses the XML format.21 The TGenshi plugin makes use of a Cfg-like directory structure located in in a TGenshi subdirectory of your repository, usually `/var/lib/bcfg2/TGenshi`. Each file has a directory containing two file types, template and info. Templates are named according to the genshi format used; template.txt uses the genshi text format, and template.xml uses the XML format. 22 22 23 23 As of Bcfg2 0.9.6 if used with Genshi 0.5 or later the plugin also supports the [http://genshi.edgewall.org/wiki/Documentation/0.5.x/text-templates.html new style] text template format for files named template.newtxt. One of the advantages of the new format is that it does not use # as a command delimiter, making it easier to utilize for configuration files that use # as a comment character. … … 42 42 ''editor's note: This section needs to be moved to TGenshi/examples and updated to show new style'' 43 43 44 Templates are also useful for cases where more sophisticated boolean operations tha tthose supported by Cfg are needed. For example, the template:44 Templates are also useful for cases where more sophisticated boolean operations than those supported by Cfg are needed. For example, the template: 45 45 46 46 {{{