diff options
Diffstat (limited to '')
-rw-r--r-- | promises.cf | 1 | ||||
-rw-r--r-- | services/main.cf | 9 |
2 files changed, 7 insertions, 3 deletions
diff --git a/promises.cf b/promises.cf index 3721c62..5712848 100644 --- a/promises.cf +++ b/promises.cf @@ -8,6 +8,7 @@ body common control @(core_policies.bundles), classify, @(classify.bundles), + main, }; inputs => { @(cfengine_controls.inputs), diff --git a/services/main.cf b/services/main.cf index 48697a7..4acafbc 100644 --- a/services/main.cf +++ b/services/main.cf @@ -8,7 +8,7 @@ body file control }; } -bundle agent classify +bundle common classify { vars: any:: @@ -18,6 +18,7 @@ bundle agent classify "julien", "bareos_fd", "check_mk", + "nrpe", "sshd", }; classes: @@ -38,11 +39,13 @@ bundle agent classify }; "mail_servers" or => { "legend" }; "nrpe" expression => "freebsd"; +} + +bundle agent main +{ methods: ipam:: "ipam" usebundle => ipam; nagios:: "nagios" usebundle => nagios; - nrpe:: - "nrpe" usebundle => nrpe; } |