Configure tiamat-11 as a prometheus server
authorTom Hughes <tom@compton.nu>
Fri, 11 Sep 2020 13:59:26 +0000 (14:59 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 11 Sep 2020 13:59:26 +0000 (14:59 +0100)
roles/prometheus.rb [new file with mode: 0644]
roles/tiamat-11.rb

diff --git a/roles/prometheus.rb b/roles/prometheus.rb
new file mode 100644 (file)
index 0000000..1b97fdb
--- /dev/null
@@ -0,0 +1,6 @@
+name "prometheus"
+description "Role applied to all prometheus servers"
+
+run_list(
+  "recipe[prometheus::server]"
+)
index 2fd7e44a100659af5c07d2a2b5de354cfca20812..066b92d41e45a36e1f814872f82ce22cf13f733b 100644 (file)
@@ -22,5 +22,6 @@ default_attributes(
 
 run_list(
   "role[ucl]",
-  "role[supermicro-x8dtt-h]"
+  "role[supermicro-x8dtt-h]",
+  "role[prometheus]"
 )