]> git.openstreetmap.org Git - chef.git/blobdiff - roles/lyonix.rb
Add roles from the private repository
[chef.git] / roles / lyonix.rb
diff --git a/roles/lyonix.rb b/roles/lyonix.rb
new file mode 100644 (file)
index 0000000..8233916
--- /dev/null
@@ -0,0 +1,28 @@
+name "lyonix"
+description "Role applied to all servers at LyonIX"
+
+default_attributes(
+  :accounts => {
+    :users => {
+      :lyonix => { :status => :administrator }
+    }
+  },
+  :networking => {
+    :nameservers => [ "77.95.64.205", "77.95.64.206", "8.8.8.8", "8.8.4.4" ],
+    :roles => {
+      :external => {
+        :zone => "ly"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => [ "0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org" ]
+  }
+)
+
+run_list(
+  "role[fr]"
+)