]> git.openstreetmap.org Git - chef.git/blobdiff - roles/taginfo.rb
Initial work on a taginfo cookbook
[chef.git] / roles / taginfo.rb
diff --git a/roles/taginfo.rb b/roles/taginfo.rb
new file mode 100644 (file)
index 0000000..2a27372
--- /dev/null
@@ -0,0 +1,28 @@
+name "taginfo"
+description "Role applied to all taginfo servers"
+
+default_attributes(
+  :accounts => {
+    :users => {
+      :jochen => {
+        :status => :administrator
+      },
+      :taginfo => {
+        :status => :role,
+        :members => [ :jochen, :tomh ]
+      }
+    }
+  },
+  :apt => {
+    :sources => [ "brightbox-ruby-ng" ]
+  },
+  :taginfo => {
+    :sites => [
+      { :name => "taginfo.openstreetmap.org" }
+    ]
+  }
+)
+
+run_list(
+  "recipe[taginfo]"
+)