diff options
author | Julien Dessaux | 2017-03-05 14:43:06 +0000 |
---|---|---|
committer | Julien Dessaux | 2017-03-05 14:43:06 +0000 |
commit | 0b3908ea518f371237642dec2790be6b1c25db95 (patch) | |
tree | e4f3ae69b69009cfec8f727c604694f0b33adab5 /services | |
download | masterfiles-0b3908ea518f371237642dec2790be6b1c25db95.tar.gz masterfiles-0b3908ea518f371237642dec2790be6b1c25db95.tar.bz2 masterfiles-0b3908ea518f371237642dec2790be6b1c25db95.zip |
Initial import
Diffstat (limited to 'services')
-rw-r--r-- | services/main.cf | 24 |
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"; +} |