X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..d5a85e00136bfbedcd488bbe9c93f5752bf1a106:/roles/lyonix.rb diff --git a/roles/lyonix.rb b/roles/lyonix.rb index 8233916fd..522c9020f 100644 --- a/roles/lyonix.rb +++ b/roles/lyonix.rb @@ -7,22 +7,31 @@ default_attributes( :lyonix => { :status => :administrator } } }, + :hosted_by => "LyonIX", + :location => "Lyon, France", :networking => { - :nameservers => [ "77.95.64.205", "77.95.64.206", "8.8.8.8", "8.8.4.4" ], + :nameservers => ["77.95.64.205", "77.95.64.206", "8.8.8.8", "8.8.4.4"], :roles => { :external => { :zone => "ly" } } + }, + :snmpd => { + :clients => ["77.95.64.0/24", "77.95.70.0/24"], + :community => "lyonix", + :location => "LYON", + :contact => "noc@lyonix.net" } ) override_attributes( :ntp => { - :servers => [ "0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org" ] + :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"] } ) run_list( - "role[fr]" + "role[fr]", + "recipe[snmpd]" )