typos
[cfengine-masterfiles.git] / inputs / promises.cf
blob588c4bcc785978e7c6af1bbc67ea44f984f0fb9e
1 ####################################################
2 #                                                  #
3 # promises.cf - Main Cfeinge 3 configuration file  #
4 #                                                  #
5 ####################################################
7 body common control {
9      any::
11         bundlesequence => { @(g.bundlesequence) };
13     backbone::
14         domain => "lan0";
16     any::
18         inputs => {
19             "update.cf",
20             "library.cf",
21             "classes.cf",
22             "cf-execd.cf",
23             "cf-serverd.cf",
24             "cf-report.cf",
25             "cleanup.cf",
26             "domain.cf"
27         };
29     output_prefix => "cf3>";
32 # global vars
33 bundle common g {
35 classes:
37     "backbone" or => {
38         classify("test1.lan0")
39     };
41     "squeeze" or => {
42         classify("test1.lan0")
43     };
45     "policy_servers" or => {
46         classify("$(g.policyhost)")
47     };
49 vars:
51     "workdir"           string => "/var/lib/cfengine3";
52     "masterfiles"       string => "$(workdir)/masterfiles";
53     "inputfiles"        string => "$(workdir)/inputs";
54     "policyhost"        string => "cfengine.lan0";
55     "bundlesequence"    slist => { "update", "executor", "server", @(g.site_seq), "cleanup" };
57     backbone::
58         "backbone_seq" slist => {
59             "domain"
60         };
62     any::
63         "site_seq" slist => {
64             "@(g.backbone_seq)",
65         }, policy => "ifdefined";
68 body runagent control {
69     hosts => { "127.0.0.1", "10.0.0.0/24" };