A puppet like c automation tool At the moment 'caut' only supports files
- Usage
- Manifests
- Templates
- Facts
- Facter
- Options
- Installation
'caut' can be called without options and arguments set, but for more information have a look at the options section
caut [OPTIONS] [ARGUMENTS]
The manifests syntax should be well known from puppet
file { 'example': ensure => present, path => '/srv/example_file', owner => 'root', group => 'root', mode => '0664', }
As you see above you don't need a source or content parameter 'caut' dont difference between static files and templates all source files are stored with the "virtual" name in the templates folder
This is an example content my computers hostname is: <%$hostname%> my ip is: <%$ipaddress%>
The variables used in templates are stored in seperate files called fact files those contain only "fact"="value" statements, comments are not supported but the last occurence of a fact is used so just copy a fact below another to override the first
hostname=mypc.domain.local ipaddress=10.10.10.2
'caut' also supports facter, but it is not integrated as facter is very slow, there is only an option to import all facter facts into the facts folder
Those facts will be stored in facts/common.ft
Note: 'caut' will first look through the common.ft file and then the facts-file, so fact-files override values form common.ft
Import facts from the facter program
Set the module path (default is pwd)
Show debug messages
Set verbose mode
Show program version
Display the command line help
The simplest way to compile this package is:
-
cd' to the directory containing the package's source code and type
./configure' to check your system for dependencies -
Type `make' to compile the package.
-
Type
make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the
make install' phase executed with root privileges.