]> git.openstreetmap.org Git - chef.git/blobdiff - roles/hostedinnz.rb
Add role for odin
[chef.git] / roles / hostedinnz.rb
index 86438e01fadcebd7c8a1057d7595a91e9bafd198..ef24387965aac35c820117f5de4378ef857483ee 100644 (file)
@@ -2,6 +2,11 @@ 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 => {
@@ -11,6 +16,11 @@ default_attributes(
         :zone => "osm"
       }
     }
+  },
+  :snmpd => {
+    :clients => ["103.106.66.28"],
+    :community => "hostedinnz",
+    :location => "Wellington"
   }
 )
 
@@ -21,5 +31,6 @@ override_attributes(
 )
 
 run_list(
-  "role[nz]"
+  "role[nz]",
+  "recipe[snmpd]"
 )