]> git.openstreetmap.org Git - chef.git/commitdiff
Add oxidized role
authorGrant Slater <github@firefishy.com>
Sat, 1 Oct 2022 22:44:44 +0000 (23:44 +0100)
committerGrant Slater <github@firefishy.com>
Sat, 1 Oct 2022 22:44:44 +0000 (23:44 +0100)
roles/oxidized.rb [new file with mode: 0644]

diff --git a/roles/oxidized.rb b/roles/oxidized.rb
new file mode 100644 (file)
index 0000000..7835c2e
--- /dev/null
@@ -0,0 +1,17 @@
+name "oxidized"
+description "Role applied to all oxidized servers"
+
+default_attributes(
+  :accounts => {
+    :users => {
+      :oxidized => {
+        :status => :role,
+        :members => [:grant, :tomh]
+      }
+    }
+  }
+)
+
+run_list(
+  "recipe[oxidized]"
+)