summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
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";
+}