]> git.openstreetmap.org Git - chef.git/blobdiff - roles/smaug.rb
Specify database for osm2pgsql on rendering servers
[chef.git] / roles / smaug.rb
index 3538f09c74ba91d785c28920fec2a77aee05ca18..87daf4d8aa14700678aa06d8766339d23c5e0629 100644 (file)
@@ -8,7 +8,7 @@ default_attributes(
     }
   },
   :apt => {
-    :sources => [ "brightbox-ruby-ng" ]
+    :sources => ["brightbox-ruby-ng"]
   },
   :db => {
     :cluster => "9.1/main"
@@ -56,7 +56,7 @@ default_attributes(
         "kernel.shmmax" => 17 * 1024 * 1024 * 1024,
         "kernel.shmall" => 17 * 1024 * 1024 * 1024 / 4096
       }
-    },
+    }
   },
   :sysfs => {
     :hdd_tune => {
@@ -64,12 +64,12 @@ default_attributes(
       :parameters => {
         "block/sda/queue/nr_requests" => "512",
         "block/sdb/queue/nr_requests" => "512",
-       "block/sda/queue/scheduler" => "noop",
-       "block/sdb/queue/scheduler" => "noop"
+        "block/sda/queue/scheduler" => "noop",
+        "block/sdb/queue/scheduler" => "noop"
       }
     }
   }
-);
+)
 
 run_list(
   "role[ic]",