Changes between Version 6 and Version 7 of Plugins/TGenshi

Show
Ignore:
Timestamp:
09/22/09 14:22:13 (2 months ago)
Author:
strauss (IP: 99.61.33.46)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Plugins/TGenshi

    v6 v7  
    1919}}} 
    2020 
    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.  
     21The 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.  
    2222 
    2323As 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. 
     
    4242''editor's note: This section needs to be moved to TGenshi/examples and updated to show new style'' 
    4343 
    44 Templates are also useful for cases where more sophisticated boolean operations that those supported by Cfg are needed. For example, the template: 
     44Templates are also useful for cases where more sophisticated boolean operations than those supported by Cfg are needed. For example, the template: 
    4545 
    4646{{{