]> git.openstreetmap.org Git - chef.git/blob - roles/lyonix.rb
Update upstream for fume
[chef.git] / roles / lyonix.rb
1 name "lyonix"
2 description "Role applied to all servers at LyonIX"
3
4 default_attributes(
5   :hosted_by => "LyonIX",
6   :location => "Lyon, France",
7   :networking => {
8     :nameservers => ["77.95.64.205", "77.95.64.206", "8.8.8.8", "8.8.4.4"]
9   },
10   :snmpd => {
11     :clients => ["77.95.64.0/24", "77.95.70.0/24"],
12     :community => "lyonix",
13     :location => "LYON",
14     :contact => "noc@lyonix.net"
15   }
16 )
17
18 override_attributes(
19   :ntp => {
20     :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
21   }
22 )
23
24 run_list(
25   "role[fr]",
26   "recipe[snmpd]"
27 )