]> git.openstreetmap.org Git - chef.git/blobdiff - roles/lyonix.rb
Enable SNMP on lyonix servers
[chef.git] / roles / lyonix.rb
index 8233916fd9ca4fd926c7806a5145a3faa950cbcd..f7bb27a3d6568e4ecdd4a7321a32a6e9890abe2c 100644 (file)
@@ -14,6 +14,12 @@ default_attributes(
         :zone => "ly"
       }
     }
+  },
+  :snmpd => {
+    :clients => [ "77.95.64.0/24", "77.95.70.0/24" ],
+    :community => "lyonix",
+    :location => "LYON",
+    :contact => "noc@lyonix.net"
   }
 )
 
@@ -24,5 +30,6 @@ override_attributes(
 )
 
 run_list(
-  "role[fr]"
+  "role[fr]",
+  "recipe[snmpd]"
 )