]> git.openstreetmap.org Git - chef.git/blobdiff - roles/greenmini.rb
Add role for firnen
[chef.git] / roles / greenmini.rb
index d9985b5c0cb5ede5ccf5a5aaf3c6cceda39d4f6f..2156eb3325199ca3701302c781c4c14de8bc16b1 100644 (file)
@@ -2,19 +2,19 @@ name "greenmini"
 description "Role applied to all servers at greenminihost"
 
 default_attributes(
+  :accounts => {
+    :users => {
+      :joris => { :status => :administrator }
+    }
+  },
   :hosted_by => "greenminihost",
-  :location => "Dronten, Netherlands",
-  :networking => {
-    :nameservers => [
-      "45.148.169.130",
-      "185.200.102.102",
-      "2a0a:aa42:222:2500::2500",
-      "2a0a:aa42:321:2000::53"
-    ]
-  }
+  :location => "Dronten, Netherlands"
 )
 
 override_attributes(
+  :networking => {
+    :nameservers => ["45.148.169.130", "185.200.102.102", "2a0a:aa42:222:2500::2500", "2a0a:aa42:321:2000::53"]
+  },
   :ntp => {
     :servers => ["0.nl.pool.ntp.org", "1.nl.pool.ntp.org", "europe.pool.ntp.org"]
   }