]> git.openstreetmap.org Git - chef.git/blob - roles/lyonix.rb
planet: redirect latest symlinks to named files
[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     :roles => {
10       :external => {
11         :zone => "ly"
12       }
13     }
14   },
15   :snmpd => {
16     :clients => ["77.95.64.0/24", "77.95.70.0/24"],
17     :community => "lyonix",
18     :location => "LYON",
19     :contact => "noc@lyonix.net"
20   }
21 )
22
23 override_attributes(
24   :ntp => {
25     :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
26   }
27 )
28
29 run_list(
30   "role[fr]",
31   "recipe[snmpd]"
32 )