Changes between Version 7 and Version 8 of TracNav


Ignore:
Timestamp:
12/11/08 16:29:50 (14 years ago)
Author:
solj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracNav

    v7 v8  
    5050Package 
    5151A package for the given system (RPM. Deb, ebuild, etc) 
    52 ConfigFile 
     52!ConfigFile 
    5353A config file 
    5454Service 
     
    5656Directory 
    5757A directory that should be present 
    58 SymLink 
     58!SymLink 
    5959A symbolic link that should be present 
    6060 
     
    7676 
    7777Here we can see that for the Group rhel, the syslog Bundle contains a 
    78 ConfigFile element /etc/syslog.conf, a Package element sysklogd, and 
     78!ConfigFile element /etc/syslog.conf, a Package element sysklogd, and 
    7979a Service element syslog. This defines a relationship between all 
    8080these elements, so that if one of these changes, examination of all 
     
    150150file, but it could easily be automated. Enter Generators. 
    151151With a Generator you can have it so the it takes care of the 
    152 management of the particular ConfigFile elements such as /etc/ssh/ 
     152management of the particular !ConfigFile elements such as /etc/ssh/ 
    153153known_hosts and the host keys. What would happen is when a client 
    154 contacts the Bcfg2 server and requests those ConfigFile elements 
     154contacts the Bcfg2 server and requests those !ConfigFile elements 
    155155handled by the Generator, the Generator will take care of auto- 
    156156generation of new host keys for a host or giving a host the host key 
     
    275275}}} 
    276276 
    277 Here you can see that the data is encapsulated in a PackageList which 
     277Here you can see that the data is encapsulated in a !PackageList which 
    278278describes the URI of the files described, the type of package, and a 
    279279priority of the files. The priority is used to decide which specific 
     
    317317The Base directory is responsible for defining the base config for 
    318318all hosts of a given Group. The majority of the elements are 
    319 Packages, but you can have Services, ConfigFiles, Directories, and 
    320 SymLinks as well. Here's an example: 
     319Packages, but you can have Services, !ConfigFiles, Directories, and 
     320!SymLinks as well. Here's an example: 
    321321 
    322322{{{ 
     
    351351==== Cfg/ Directory ==== 
    352352 
    353 The Cfg is where all the actual ConfigFiles are kept. If you have a 
    354 ConfigFile element listed in a Bundle you need to provide Bcfg with 
     353The Cfg is where all the actual !ConfigFiles are kept. If you have a 
     354!ConfigFile element listed in a Bundle you need to provide Bcfg with 
    355355the actual configuration file to give to the host. The directory 
    356356structure under the Cfg/ directory defines where the configuration 
     
    436436}}} 
    437437 
    438 The + at the beggining of the file tells Bcfg2 that the line should 
     438The + at the begining of the file tells Bcfg2 that the line should 
    439439be appended to end of the file. You can also start a line with - to 
    440440tell Bcfg2 to remove that exact line wherever it might be in the file.