Difference between revisions of "Bundle agent webhuis common"
(New page: This is an example of a role used in the system. It is the role of a backup and recovery server that serves other hosts in the domain. <pre> ###############################################...) |
|||
Line 26: | Line 26: | ||
"any" usebundle => update_ldapserver; |
"any" usebundle => update_ldapserver; |
||
"any" usebundle => update_monitoring; |
"any" usebundle => update_monitoring; |
||
− | "any" usebundle => resolv_conf; |
||
} |
} |
Latest revision as of 14:43, 18 May 2014
This is an example of a role used in the system. It is the role of a backup and recovery server that serves other hosts in the domain.
############################################################################### # # Webhuis webhuis_common generic for all hosts # # Copyright (C) 2008 Martin Simons, Webhuis. Renkum The Netherlands # This source code is licensed under the GNU General Public License, Version 2. # See http://webhuis.nl/GPL-license for more details. # ############################################################################### bundle agent webhuis_common { vars: "bundlesequence" slist => { "common_bundles", "os_layer", "hardening" }; } bundle agent common_bundles { methods: "any" usebundle => cleanup; "any" usebundle => update_cmdb; "any" usebundle => update_nameserver; "any" usebundle => update_ldapserver; "any" usebundle => update_monitoring; } bundle agent cleanup { files: # Cleanup old reports "$(sys.workdir)/outputs" comment => "Clean up reports older than 3 days", delete => tidy, file_select => days_old("3"), depth_search => recurse("inf"); }
Return to: Dynamic_Cfengine3