]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ascalon.rb
Update ascalon configuration for squid 3
[chef.git] / roles / ascalon.rb
index 243484ac18aa436c0ea478abd920af24acd92d2f..426c54abe243dd3599198b698681154bb7b677c2 100644 (file)
@@ -4,29 +4,32 @@ description "Master role applied to ascalon"
 default_attributes(
   :networking => {
     :interfaces => {
-      :internal_ipv4 => {
-        :interface => "eth1.2801",
-        :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=200 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]",
-  "role[hp-g5]",
-  "role[roundup]"
+  "role[netalerts]",
+  "role[geodns]",
+  "role[tilecache]"
 )