]> git.openstreetmap.org Git - chef.git/blob - roles/iway.rb
Send incoming mail to the new frontends
[chef.git] / roles / iway.rb
1 name "iway"
2 description "Role applied to all servers at iWay"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :cramer => { :status => :administrator }
8     }
9   },
10   :hosted_by => "iWay",
11   :location => "Zurich, Switzerland",
12   :networking => {
13     :firewall => {
14       :inet => [
15         {
16           :action => "ACCEPT",
17           :source => "net:212.25.24.64/28",
18           :dest => "fw",
19           :proto => "udp",
20           :dest_ports => "snmp",
21           :source_ports => "1024:",
22           :rate_limit => "-",
23           :connection_limit => "-"
24         }
25       ]
26     },
27     :nameservers => ["2001:8e0:ffff:ac1::1", "8.8.8.8", "8.8.4.4"],
28     :roles => {
29       :external => {
30         :zone => "osm"
31       }
32     }
33   }
34 )
35
36 override_attributes(
37   :ntp => {
38     :servers => ["0.ch.pool.ntp.org", "1.ch.pool.ntp.org", "europe.pool.ntp.org"]
39   }
40 )
41
42 run_list(
43   "role[ch]"
44 )