]> git.openstreetmap.org Git - chef.git/blobdiff - roles/viserion.rb
Correct netmask on viserion
[chef.git] / roles / viserion.rb
index 6179736d446f9bb48eb78618f3cf0c84b1c4a691..a233e908ebea0bece715b22c26b4ae169b6912b4 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,18 +18,24 @@ default_attributes(
         :role => :external,
         :family => :inet,
         :address => "193.198.233.211",
-        :prefix => "27",
+        :prefix => "29",
         :gateway => "193.198.233.209"
       },
       :external_ipv6 => {
         :interface => "eth0",
         :role => :external,
         :family => :inet6,
-        :address => "2001:b68:4cff:3::2",
-        :prefix => "128",
-        :gateway => "fe80::217:fff:fead:14c0"
+        :address => "2001:b68:4cff:3::3",
+        :prefix => "64",
+        :gateway => "2001:b68:4cff:3::1"
       }
-    }
+    },
+    :nameservers => [
+      "161.53.2.66",
+      "2001:b68:ff:1::2",
+      "2001:b68:ff:2::2",
+      "2001:4860:4860::8888"
+    ]
   },
   :squid => {
     :cache_mem => "12500 MB",
@@ -29,6 +44,7 @@ default_attributes(
   :tilecache => {
     :tile_parent => "pula.render.openstreetmap.org",
     :tile_siblings => [
+      "drogon.openstreetmap.org"
     ]
   }
 )