]> git.openstreetmap.org Git - chef.git/blobdiff - roles/milkywan.rb
Add role for necrosan
[chef.git] / roles / milkywan.rb
diff --git a/roles/milkywan.rb b/roles/milkywan.rb
new file mode 100644 (file)
index 0000000..dbfae9f
--- /dev/null
@@ -0,0 +1,30 @@
+name "milkywan"
+description "Role applied to all servers at MilkyWan"
+
+default_attributes(
+  :accounts => {
+    :users => {
+      :milkywan => { :status => :administrator }
+    }
+  },
+  :hosted_by => "MilkyWan",
+  :location => "France",
+  :networking => {
+    :nameservers => ["130.117.11.11", "2a0b:cbc0:42::42"],
+    :roles => {
+      :external => {
+        :zone => "osm"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[fr]"
+)