]> git.openstreetmap.org Git - chef.git/blobdiff - roles/hostedinnz.rb
Configure modtile and renderd collectors
[chef.git] / roles / hostedinnz.rb
index 40eaba9cc8c7b16a1b236d63809cda21a30a9acd..7e0944309c82525cd5331e75d3cf8a5a08bf046c 100644 (file)
@@ -2,17 +2,18 @@ name "hostedinnz"
 description "Role applied to all servers at HostedIn.NZ"
 
 default_attributes(
+  :accounts => {
+    :users => {
+      :asmith => { :status => :administrator }
+    }
+  },
   :hosted_by => "HostedIn.NZ",
   :location => "Wellington, New Zealand",
   :networking => {
-    :nameservers => ["8.8.8.8", "8.8.4.4"],
-    :roles => {
-      :external => {
-        :zone => "osm"
-      }
-    }
+    :nameservers => ["8.8.8.8", "8.8.4.4"]
   },
   :snmpd => {
+    :clients => ["103.106.66.28"],
     :community => "hostedinnz",
     :location => "Wellington"
   }
@@ -20,7 +21,7 @@ default_attributes(
 
 override_attributes(
   :ntp => {
-    :servers => ["0.nz.pool.ntp.org", "1.nz.pool.ntp.org", "asia.pool.ntp.org"]
+    :servers => ["0.nz.pool.ntp.org", "1.nz.pool.ntp.org", "oceania.pool.ntp.org"]
   }
 )