X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..808a8a3e8ec7b1903e356f20016e278d012a033e:/roles/lyonix.rb diff --git a/roles/lyonix.rb b/roles/lyonix.rb index 8233916fd..b44835628 100644 --- a/roles/lyonix.rb +++ b/roles/lyonix.rb @@ -2,27 +2,24 @@ name "lyonix" description "Role applied to all servers at LyonIX" default_attributes( - :accounts => { - :users => { - :lyonix => { :status => :administrator } - } - }, - :networking => { - :nameservers => [ "77.95.64.205", "77.95.64.206", "8.8.8.8", "8.8.4.4" ], - :roles => { - :external => { - :zone => "ly" - } - } + :hosted_by => "LyonIX", + :location => "Lyon, France", + :snmpd => { + :clients => ["77.95.64.0/21"], + :clients6 => ["2a03:9180::/32", "2001:7f8:47::/48"], + :community => "lyonix", + :location => "LYON", + :contact => "sysadm@rezopole.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]" )