From a468bda5126197d3a3d73517f16cc72fb3058b30 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 10 Oct 2017 14:56:07 +0200 Subject: Bootstrapped x11 support --- services/main.cf | 4 ++++ services/x11_desktop.cf | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 services/x11_desktop.cf (limited to 'services') 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)"); +} -- cgit v1.2.3