diff options
Diffstat (limited to 'services')
-rw-r--r-- | services/main.cf | 4 | ||||
-rw-r--r-- | services/x11_desktop.cf | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/services/main.cf b/services/main.cf index 4acafbc..45d7521 100644 --- a/services/main.cf +++ b/services/main.cf @@ -34,11 +34,15 @@ bundle common classify "andromeda", "collab_jde", "console", + "hero", "hurricane", "legend", }; "mail_servers" or => { "legend" }; "nrpe" expression => "freebsd"; + "x11_desktop" or => { + "hero", + }; } bundle agent main diff --git a/services/x11_desktop.cf b/services/x11_desktop.cf new file mode 100644 index 0000000..44d3c2a --- /dev/null +++ b/services/x11_desktop.cf @@ -0,0 +1,17 @@ +bundle agent x11_desktop +{ + vars: + x11_desktop.freebsd:: + "packages" slist => { + "i3", + "i3status", + }; + x11_desktop.ubuntu:: + "packages" slist => { + "i3", + "i3status", + }; + methods: + x11_desktop:: + "x11_desktop" usebundle => install_package("$(this.bundle)", "$(x11_desktop.packages)"); +} |