]> git.openstreetmap.org Git - chef.git/blob - roles/lyonix.rb
Move db-slave and nominatim-slave roles to public repository
[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   :location => "Lyon, France",
11   :networking => {
12     :nameservers => ["77.95.64.205", "77.95.64.206", "8.8.8.8", "8.8.4.4"],
13     :roles => {
14       :external => {
15         :zone => "ly"
16       }
17     }
18   },
19   :snmpd => {
20     :clients => ["77.95.64.0/24", "77.95.70.0/24"],
21     :community => "lyonix",
22     :location => "LYON",
23     :contact => "noc@lyonix.net"
24   }
25 )
26
27 override_attributes(
28   :ntp => {
29     :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
30   }
31 )
32
33 run_list(
34   "role[fr]",
35   "recipe[snmpd]"
36 )