]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ascalon.rb
Reduce maximum swap rate on ascalon
[chef.git] / roles / ascalon.rb
index 5d69d4a222c23ae6b7bc806c347973366369acb1..49eb0bd345a467ced2b9ad3f7415498f667d6456 100644 (file)
@@ -4,29 +4,32 @@ description "Master role applied to ascalon"
 default_attributes(
   :networking => {
     :interfaces => {
-      :internal_ipv4 => {
-        :interface => "eth0",
-        :role => :internal,
-        :family => :inet,
-        :address => "10.0.0.18"
-      },
       :external_ipv4 => {
-        :interface => "eth1.2800",
+        :interface => "eth0",
         :role => :external,
         :family => :inet,
-        :address => "193.60.236.10"
+        :address => "184.107.48.228",
+        :prefix => "27",
+        :gateway => "184.107.48.225"
       }
     }
   },
-  :accounts => {
-    :users => {
-      :emacsen => { :status => :administrator }
-    }
+  :squid => {
+    :version => "3",
+    :cache_mem => "16000 MB",
+    :cache_dir => "rock /store/squid/rock-01 128000 swap-timeout=500 max-swap-rate=150 slot-size=4096 max-size=262144"
+  },
+  :tilecache => {
+    :tile_parent => "montreal.render.openstreetmap.org",
+    :tile_siblings => [
+      "stormfly-02.openstreetmap.org",
+      "jakelong.openstreetmap.org"
+    ]
   }
 )
 
 run_list(
-  "role[ucl-slough]",
-  "role[hp-g5]",
-  "role[roundup]"
+  "role[netalerts]",
+  "role[geodns]",
+  "role[tilecache]"
 )