diff options
Diffstat (limited to 'system/cfengine/config')
-rw-r--r-- | system/cfengine/config/cfagent.conf | 16 | ||||
-rw-r--r-- | system/cfengine/config/cfrun.hosts | 1 | ||||
-rw-r--r-- | system/cfengine/config/cfservd.conf | 11 | ||||
-rw-r--r-- | system/cfengine/config/update.conf | 25 |
4 files changed, 53 insertions, 0 deletions
diff --git a/system/cfengine/config/cfagent.conf b/system/cfengine/config/cfagent.conf new file mode 100644 index 0000000000..6fe5bc7e27 --- /dev/null +++ b/system/cfengine/config/cfagent.conf @@ -0,0 +1,16 @@ +control: + + actionsequence = ( processes ) + domain = ( localhost ) + access = ( root ) + # Where cfexecd sends reports + smtpserver = ( localhost ) + sysadm = ( root@localhost ) + +processes: + + # Make sure these processes are always running + "cfenvd" restart "/usr/sbin/cfenvd" + "cfservd" restart "/usr/sbin/cfservd" + "cfexecd" restart "/usr/sbin/cfexecd" + diff --git a/system/cfengine/config/cfrun.hosts b/system/cfengine/config/cfrun.hosts new file mode 100644 index 0000000000..2fbb50c4a8 --- /dev/null +++ b/system/cfengine/config/cfrun.hosts @@ -0,0 +1 @@ +localhost diff --git a/system/cfengine/config/cfservd.conf b/system/cfengine/config/cfservd.conf new file mode 100644 index 0000000000..84bd910599 --- /dev/null +++ b/system/cfengine/config/cfservd.conf @@ -0,0 +1,11 @@ +control: + + domain = ( localhost ) + AllowUsers = ( root ) + cfrunCommand = ( "/usr/sbin/cfagent" ) + +admit: + + /usr/sbin/cfagent localhost + /var/cfengine/masterfiles localhost + diff --git a/system/cfengine/config/update.conf b/system/cfengine/config/update.conf new file mode 100644 index 0000000000..096e433d52 --- /dev/null +++ b/system/cfengine/config/update.conf @@ -0,0 +1,25 @@ +control: + + actionsequence = ( copy tidy ) + domain = ( localhost ) + workdir = ( /var/cfengine ) + policyhost = ( localhost ) + master_cfinput = ( /var/cfengine/masterfiles ) + +copy: + + $(master_cfinput) + dest=$(workdir)/inputs + r=inf + mode=644 + type=binary + ignore=*.lst + ignore=*~ + ignore=#* + ignore=RCS + ignore=CVS + server=$(policyhost) + +tidy: + + $(workdir)/outputs pattern=* age=7 |