]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nchc.rb
Make karm the database master
[chef.git] / roles / nchc.rb
index ebc9487bb9ecbfdf61c4235295003d732edad80c..bb9181fff5d6a0bc91514dfcb4d7e76a2cf4d2b6 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 => ["140.110.16.1", "140.110.4.1"],
     :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"]
   }
 )