]> git.openstreetmap.org Git - chef.git/blobdiff - roles/saphira.rb
Add role for saphira
[chef.git] / roles / saphira.rb
diff --git a/roles/saphira.rb b/roles/saphira.rb
new file mode 100644 (file)
index 0000000..b05bcba
--- /dev/null
@@ -0,0 +1,44 @@
+name "saphira"
+description "Master role applied to saphira"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :external_ipv4 => {
+        :interface => "eth0",
+        :role => :external,
+        :family => :inet,
+        :address => "185.73.44.30",
+        :prefix => "22",
+        :gateway => "185.73.44.1"
+      },
+      :external_ipv6 => {
+        :interface => "eth0",
+        :role => :external,
+        :family => :inet6,
+        :address => "2001:ba8:0:2c1e::",
+        :prefix => "64",
+        :gateway => "fe80::fcff:ffff:feff:ffff"
+      }
+    }
+  },
+  :squid => {
+    :cache_mem => "7500 MB",
+    :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
+  },
+  :tilecache => {
+    :tile_parent => "london.render.openstreetmap.org",
+    :tile_siblings => [
+      "trogdor.openstreetmap.org",
+      "tabaluga.openstreetmap.org",
+      "ridgeback.openstreetmap.org",
+      "fume.openstreetmap.org",
+      "gorynych.openstreetmap.org"
+    ]
+  }
+)
+
+run_list(
+  "role[jump]",
+  "role[tilecache]"
+)