]> git.openstreetmap.org Git - chef.git/blobdiff - roles/viserion.rb
fix rubocop offenses
[chef.git] / roles / viserion.rb
index ab677467d68a6b30c2cb66a248ac4a2d5590533b..d945ef790bb0bfe777d28e2c6eb651b52c84caf2 100644 (file)
@@ -2,6 +2,15 @@ name "viserion"
 description "Master role applied to viserion"
 
 default_attributes(
+  :accounts => {
+    :users => {
+      :anovak => { :status => :administrator }
+    }
+  },
+  :location => "Pula, Croatia",
+  :munin => {
+    :allow => ["193.198.233.210"]
+  },
   :networking => {
     :interfaces => {
       :external_ipv4 => {
@@ -9,7 +18,7 @@ default_attributes(
         :role => :external,
         :family => :inet,
         :address => "193.198.233.211",
-        :prefix => "27",
+        :prefix => "29",
         :gateway => "193.198.233.209"
       },
       :external_ipv6 => {
@@ -17,10 +26,16 @@ default_attributes(
         :role => :external,
         :family => :inet6,
         :address => "2001:b68:4cff:3::3",
-        :prefix => "128",
+        :prefix => "64",
         :gateway => "2001:b68:4cff:3::1"
       }
-    }
+    },
+    :nameservers => [
+      "8.8.8.8",
+      "8.8.4.4",
+      "2001:4860:4860::8888",
+      "2001:4860:4860::8844"
+    ]
   },
   :squid => {
     :cache_mem => "12500 MB",
@@ -29,10 +44,12 @@ default_attributes(
   :tilecache => {
     :tile_parent => "pula.render.openstreetmap.org",
     :tile_siblings => [
+      "drogon.openstreetmap.org"
     ]
   }
 )
 
 run_list(
-  "role[carnet]"
+  "role[carnet]",
+  "role[tilecache]"
 )