Syntax of the configuration file(s)

Each configuration file is simply a list of UNIX commands to be executed by script: 1 command per line.

Usual #-comments can be used in the file, empty lines are ignored.

Command aliases

Special type of comment when comment added at the end of the command line is used as a command alias, i.e. instead of full command alias is used as a key in output YAML file.

Example of command with an alias:

cat /etc/rc.conf.local # hostconfig

To store content of a file in YAM output, simply use cat command as in the example above.

Rules for configuration files naming (namespace).

This will be revised as development goes.

At the top of the configuration directory:

Depending on the OS and distribution other commands should go into directories organized into tree structure:

Linux/RedHat.cfg Linux/Debian.cfg

etc.