diff options
Diffstat (limited to '')
-rw-r--r-- | promises.cf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/promises.cf b/promises.cf new file mode 100644 index 0000000..24a989c --- /dev/null +++ b/promises.cf @@ -0,0 +1,29 @@ +body common control +{ + any:: + bundlesequence => { + cfengine_controls, + classify, + hello, + }; + inputs => { + @(cfengine_controls.inputs), + "services/main.cf", + }; +} + +bundle common cfengine_controls +{ + vars: + any:: + "input[cf_agent]" string => "controls/cf_agent.cf"; + "input[cf_execd]" string => "controls/cf_execd.cf"; + "input[cf_monitord]" string => "controls/cf_monitord.cf"; + "input[cf_serverd]" string => "controls/cf_serverd.cf"; + "input[cf_runagent]" string => "controls/cf_runagent.cf"; + "inputs" slist => getvalues(input); + reports: + DEBUG|DEBUG_cfengine_controls:: + "DEBUG $(this.bundle)"; + "$(const.t)defining inputs='$(inputs)'"; +} |