]> git.openstreetmap.org Git - chef.git/blobdiff - roles/blog-staging.rb
enable mikel on fume
[chef.git] / roles / blog-staging.rb
diff --git a/roles/blog-staging.rb b/roles/blog-staging.rb
new file mode 100644 (file)
index 0000000..80f07a1
--- /dev/null
@@ -0,0 +1,18 @@
+name "blog-staging"
+description "Role applied to staging blog servers"
+
+default_attributes(
+  :accounts => {
+    :users => {
+      :mikel => { :status => :user }
+    },
+    :wordpress => {
+      :status => :role,
+      :members => [:mikel]
+    }
+  }
+)
+
+run_list(
+  "recipe[blog::staging]"
+)