summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services/common.cf6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/common.cf b/services/common.cf
index d315c6a..de738a8 100644
--- a/services/common.cf
+++ b/services/common.cf
@@ -3,9 +3,11 @@ bundle agent common
files:
any::
"/etc/hosts"
- edit_defaults => std_defs,
+ create => "true",
+ edit_defaults => empty,
perms => system_owned("444"),
- copy_from => local_dcp("$(sys.inputdir)/templates/common/hosts.cftpl"),
+ edit_template => "$(sys.inputdir)/templates/common/hosts.cftpl",
+ template_method => "cfengine",
classes => if_repaired("common_hosts_files_repaired");
reports:
any::