From 0b3908ea518f371237642dec2790be6b1c25db95 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 5 Mar 2017 14:43:06 +0000 Subject: Initial import --- services/main.cf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 services/main.cf (limited to 'services') diff --git a/services/main.cf b/services/main.cf new file mode 100644 index 0000000..5808f31 --- /dev/null +++ b/services/main.cf @@ -0,0 +1,24 @@ +############################################################################### +# +# bundle agent main +# - User/Site policy entry +# +############################################################################### + +bundle common classify +{ + classes: + any:: + "containers" or => { + regline(".*/lxc/.*", "/proc/1/cgroup"), + regline(".*lxc", "/proc/1/environ"), + }; + "mail_servers" or => { "legend" }; +} + +bundle agent hello +{ + reports: + any:: + "$(this.bundle): hello world"; +} -- cgit v1.2.3