summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2017-10-10 14:56:07 +0200
committerJulien Dessaux2017-10-12 15:35:22 +0200
commita468bda5126197d3a3d73517f16cc72fb3058b30 (patch)
tree71b5b9bd91fe479ca04aebeab5630162d5a772cb
parentInitialized alpine linux support (diff)
downloadmasterfiles-a468bda5126197d3a3d73517f16cc72fb3058b30.tar.gz
masterfiles-a468bda5126197d3a3d73517f16cc72fb3058b30.tar.bz2
masterfiles-a468bda5126197d3a3d73517f16cc72fb3058b30.zip
Bootstrapped x11 support
Diffstat (limited to '')
-rw-r--r--services/main.cf4
-rw-r--r--services/x11_desktop.cf17
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)");
+}