See http://wiki.sugarlabs.org/go/Sugar_Server_Kit/Mace#Providers for more information.
Current Mace providers support and were tested on following GNU/Linux distributions. New distributions might be added on purpose.
Each of following section describe one particular Mace provider. Except provider specific information, sections describe common parameters.
Mace configuration details, i.e., how this provider might be used in Mace configuration sources:
Service: the name of directory with .d suffix that will contain configuration supported by this provider Confiles: if there are no confiles, configuration files should be placed directly to .d directory; otherwise they need to be placed to directory with a name of particular cofile Variables: variables that provider exports, they might be used in configuration sources
Final configuration details, i.e., how Mace will affect the system after applying Mace configuration on the final system:
Replaces: list of files on the final system that will be changed; if this list is empty, it is possible to have non-Mace and Mace configuration on the final system simultaneously Removes: list of files on the final system that will be removed; if this list is empty, it is possible to have non-Mace and Mace configuration on the final system simultaneously New: list of files on final system that will be added after applying Mace configuration
Provider will do some extra work:
Service: | apache.d |
---|---|
Confiles: |
|
Variables: |
|
New: |
|
---|
New: |
|
---|
Provider will change /etc/resolv.conf to point it to the localhost. The upstream server needs to be chnaged using /etc/resolv.conf.dnsmasq.
Service: | dnsmasq.d |
---|---|
Confiles: | No |
Variables: | No |
Replaces: |
|
---|---|
New: |
|
Configure arbitrary files and directories.
This provider uses artificial Mace-level configuration syntax in ini-files format. Each ini section name is a path to configure.
content: | if specified, file will be processed and directory otherwise |
---|---|
mode: | file mode; default mode if ommited |
user: | owner name or uid; root if ommited |
group: | owner group or gid; root if ommited |
exec: | call shell command if file was changed |
Service: | files.d |
---|---|
Confiles: | No |
Variables: | No |
All configuration content should be in iptables-save format. But COMMIT directive should not be used, it will be added automatically by Mace.
Service: |
|
---|---|
Confiles: |
|
Variables: | No |
Replaces: |
|
---|
New: |
|
---|
Provider will do some extra work:
Service: | munin-node.d |
---|---|
Confiles: |
|
Variables: | No |
Replaces: |
|
---|---|
Removes: |
|
New: |
|
Service: | openssh.d |
---|---|
Confiles: |
|
Variables: | No |
Replaces: |
|
---|
PHP AJAX File Manager patched to have configuration file in /etc/pafm.conf.
Provider will do some extra work:
Service: | pafm.d |
---|---|
Confiles: | No |
Variables: | No |
Replaces: | /etc/pafm.conf |
---|
Provider will do some extra work:
Service: |
|
---|---|
Confiles: |
|
Variables: | No |
Replaces: |
|
---|
Squid Analysis Report Generator.
Provider will do some extra work:
Service: | sarg.d |
---|---|
Confiles: | No |
Variables: | No |
Replaces: | /etc/sarg/sarg.conf |
---|
Provider will do some extra work to make sure that:
If configuration template contains filter confile, squidQuard will be enabled.
Service: | squid.d |
---|---|
Confiles: |
|
Variables: | No |
Replaces: |
|
---|
Service: | sugar-server.d |
---|---|
Confiles: | No |
Variables: | No |
Replaces: | /etc/sugar-server.conf |
---|