Initial commit of Cfengine 3 configuration
[cfengine-masterfiles.git] / inputs / cf-execd.cf
blob95440b1fc6cba8c45fbcb8110e2a74908fc623f2
1 #####################################
2 #                                   #
3 # cf-execd.cf - Cfengine 3 Executor #
4 #                                   #
5 #####################################
7 body executer control {
8     splaytime       => "1";
9     mailto          => "james@jamestechnotes.com";
10     mailfrom        => "cfengine@lan0";
11     smtpserver      => "mail.lan0";
12     executorfacilty => "LOG_DAEMON";
15 # Make sure that the server is running
16 bundle agent executor {
18 vars:
20     "init_d"    string => "/etc/init.d";
22 processes:
25     "cf-execd"
27         comment         => "Make sure cf-execd runs on all hosts",
28         restart_class   => "start_cfexecd";
30 commands:
32     start_cfexecd::
34         "$(init_d)/cfengine3 start";