summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorJulien Dessaux2017-03-05 14:43:06 +0000
committerJulien Dessaux2017-03-05 14:43:06 +0000
commit0b3908ea518f371237642dec2790be6b1c25db95 (patch)
treee4f3ae69b69009cfec8f727c604694f0b33adab5 /services
downloadmasterfiles-0b3908ea518f371237642dec2790be6b1c25db95.tar.gz
masterfiles-0b3908ea518f371237642dec2790be6b1c25db95.tar.bz2
masterfiles-0b3908ea518f371237642dec2790be6b1c25db95.zip
Initial import
Diffstat (limited to '')
-rw-r--r--services/main.cf24
1 files changed, 24 insertions, 0 deletions
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";
+}