]> git.openstreetmap.org Git - chef.git/blob - roles/lyonix.rb
Disable replication on ironbelly
[chef.git] / roles / lyonix.rb
1 name "lyonix"
2 description "Role applied to all servers at LyonIX"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :lyonix => { :status => :administrator }
8     }
9   },
10   :hosted_by => "LyonIX",
11   :location => "Lyon, France",
12   :networking => {
13     :nameservers => ["77.95.64.205", "77.95.64.206", "8.8.8.8", "8.8.4.4"],
14     :roles => {
15       :external => {
16         :zone => "ly"
17       }
18     }
19   },
20   :snmpd => {
21     :clients => ["77.95.64.0/24", "77.95.70.0/24"],
22     :community => "lyonix",
23     :location => "LYON",
24     :contact => "noc@lyonix.net"
25   }
26 )
27
28 override_attributes(
29   :ntp => {
30     :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
31   }
32 )
33
34 run_list(
35   "role[fr]",
36   "recipe[snmpd]"
37 )