]> git.openstreetmap.org Git - chef.git/blob - roles/lyonix.rb
Move promscale tuning to role and tune WAL sizes
[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   :snmpd => {
8     :clients => ["77.95.64.0/21"],
9     :clients6 => ["2a03:9180::/32", "2001:7f8:47::/48"],
10     :community => "lyonix",
11     :location => "LYON",
12     :contact => "sysadm@rezopole.net"
13   }
14 )
15
16 override_attributes(
17   :ntp => {
18     :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
19   }
20 )
21
22 run_list(
23   "role[fr]",
24   "recipe[snmpd]"
25 )