]> git.openstreetmap.org Git - chef.git/blobdiff - roles/iway.rb
Add role for chrysophylax
[chef.git] / roles / iway.rb
diff --git a/roles/iway.rb b/roles/iway.rb
new file mode 100644 (file)
index 0000000..ae10831
--- /dev/null
@@ -0,0 +1,30 @@
+name "iway"
+description "Role applied to all servers at iWay"
+
+default_attributes(
+  :accounts => {
+    :users => {
+      :cramer => { :status => :administrator }
+    }
+  },
+  :hosted_by => "iWay",
+  :location => "Zurich, Switzerland",
+  :networking => {
+    :nameservers => ["2001:8e0:ffff:ac1::1", "8.8.8.8", "8.8.4.4"],
+    :roles => {
+      :external => {
+        :zone => "osm"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.ch.pool.ntp.org", "1.ch.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[ch]"
+)