]> git.openstreetmap.org Git - chef.git/blob - roles/fullsave.rb
Merge pull request #276 from Firefishy/git-timeout-tweak
[chef.git] / roles / fullsave.rb
1 name "fullsave"
2 description "Role applied to all servers at FullSave"
3
4 default_attributes(
5   :hosted_by => "FullSave",
6   :location => "Toulouse, France",
7   :networking => {
8     :firewall => {
9       :inet => [
10         {
11           :action => "ACCEPT",
12           :source => "net:185.116.130.12",
13           :dest => "fw",
14           :proto => "udp",
15           :dest_ports => "snmp",
16           :source_ports => "1024:",
17           :rate_limit => "-",
18           :connection_limit => "-"
19         },
20         {
21           :action => "ACCEPT",
22           :source => "net:100.80.8.0/24",
23           :dest => "fw",
24           :proto => "udp",
25           :dest_ports => "snmp",
26           :source_ports => "1024:",
27           :rate_limit => "-",
28           :connection_limit => "-"
29         }
30       ]
31     },
32     :nameservers => ["141.0.202.202", "141.0.202.203"],
33     :roles => {
34       :external => {
35         :zone => "osm"
36       }
37     }
38   }
39 )
40
41 override_attributes(
42   :ntp => {
43     :servers => ["0.fr.pool.ntp.org", "1.fr.pool.ntp.org", "europe.pool.ntp.org"]
44   }
45 )
46
47 run_list(
48   "role[fr]"
49 )