]> git.openstreetmap.org Git - chef.git/blob - roles/lyonix.rb
Spin up memcached on the web frontends
[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/21"],
12     :clients6 => ["2a03:9180::/32", "2001:7f8:47::/48"],
13     :community => "lyonix",
14     :location => "LYON",
15     :contact => "sysadm@rezopole.net"
16   }
17 )
18
19 override_attributes(
20   :ntp => {
21     :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
22   }
23 )
24
25 run_list(
26   "role[fr]",
27   "recipe[snmpd]"
28 )