]> git.openstreetmap.org Git - chef.git/blobdiff - roles/rhaegal.rb
Add test for dmca cookbook
[chef.git] / roles / rhaegal.rb
index 8554cecf376a40fb4be1a0dd5e72648888cffe64..fa2480be414353e221c2cb76a73bf9675d32aa8d 100644 (file)
@@ -7,20 +7,28 @@ default_attributes(
       :mmiler => { :status => :administrator }
     }
   },
-  :devices => {
-    :ssd_samsung => {
-      :comment => "Tune scheduler for SSD",
-      :type => "block",
-      :bus => "ata",
-      :serial => "Samsung_SSD_860_PRO_*",
-      :attrs => {
-        "queue/scheduler" => "noop",
-        "queue/nr_requests" => "256",
-        "queue/read_ahead_kb" => "2048"
+  :apt => {
+    :sources => ["postgresql"]
+  },
+  :location => "Zagreb, Croatia",
+  :munin => {
+    :plugins => {
+      :sensors_temp => {
+        :temp1 => { :warning => "85.0" },
+        :temp2 => { :warning => "85.0" },
+        :temp3 => { :warning => "85.0" },
+        :temp4 => { :warning => "85.0" },
+        :temp5 => { :warning => "85.0" },
+        :temp6 => { :warning => "85.0" },
+        :temp8 => { :warning => "85.0" },
+        :temp9 => { :warning => "85.0" },
+        :temp10 => { :warning => "85.0" },
+        :temp11 => { :warning => "85.0" },
+        :temp12 => { :warning => "85.0" },
+        :temp13 => { :warning => "85.0" }
       }
     }
   },
-  :location => "Zagreb, Croatia",
   :networking => {
     :interfaces => {
       :external_ipv4 => {
@@ -29,7 +37,8 @@ default_attributes(
         :family => :inet,
         :address => "10.5.0.77",
         :prefix => "16",
-        :gateway => "10.5.0.1"
+        :gateway => "10.5.0.1",
+        :public_address => "161.53.248.77"
       }
     },
     :nameservers => [