]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nchc.rb
Upgrade bytemark machines to chef 13
[chef.git] / roles / nchc.rb
index ebc9487bb9ecbfdf61c4235295003d732edad80c..ffae32b0c9ebb182beaaa5ed3e7b20484876c86c 100644 (file)
@@ -2,8 +2,16 @@ name "nchc"
 description "Role applied to all servers at NCHC"
 
 default_attributes(
+  :accounts => {
+    :users => {
+      :steven => { :status => :administrator },
+      :ceasar => { :status => :administrator }
+    }
+  },
+  :hosted_by => "NCHC",
+  :location => "Hsinchu, Taiwan",
   :networking => {
-    :nameservers => [ "8.8.8.8", "8.8.4.4" ],
+    :nameservers => ["8.8.8.8", "8.8.4.4"],
     :roles => {
       :external => {
         :zone => "nc"
@@ -14,7 +22,7 @@ default_attributes(
 
 override_attributes(
   :ntp => {
-    :servers => [ "0.tw.pool.ntp.org", "1.tw.pool.ntp.org", "europe.pool.ntp.org" ]
+    :servers => ["0.tw.pool.ntp.org", "1.tw.pool.ntp.org", "europe.pool.ntp.org"]
   }
 )