summaryrefslogtreecommitdiff
path: root/services/common.cf
diff options
context:
space:
mode:
Diffstat (limited to 'services/common.cf')
-rw-r--r--services/common.cf13
1 files changed, 13 insertions, 0 deletions
diff --git a/services/common.cf b/services/common.cf
new file mode 100644
index 0000000..8ca7a3d
--- /dev/null
+++ b/services/common.cf
@@ -0,0 +1,13 @@
+bundle agent common
+{
+ files:
+ any::
+ "/etc/hosts"
+ edit_defaults => std_defs,
+ perms => system_owned("444"),
+ edit_template => "$(sys.inputdir)/templates/common/hosts",
+ classes => if_repaired("hosts_repaired");
+ reports:
+ any::
+ "$(this.bundle): /etc/hosts repaired" ifvarclass => "hosts_repaired";
+}