]> git.openstreetmap.org Git - chef.git/blob - roles/edgeuno.rb
Add remote hands account for Edgeuno
[chef.git] / roles / edgeuno.rb
1 name "edgeuno"
2 description "Role applied to all servers at Edgeuno"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :e1admin => { :status => :administrator }
8     }
9   },
10   :hosted_by => "EdgeUno",
11   :location => "Bogotá, Colombia",
12   :networking => {
13     :firewall => {
14       :inet => [
15         {
16           :action => "ACCEPT",
17           :source => "net:200.25.3.8/31",
18           :dest => "fw",
19           :proto => "udp",
20           :dest_ports => "snmp",
21           :source_ports => "1024:",
22           :rate_limit => "-",
23           :connection_limit => "-"
24         },
25         {
26           :action => "ACCEPT",
27           :source => "net:200.25.3.8/31",
28           :dest => "fw",
29           :proto => "tcp",
30           :dest_ports => "snmp",
31           :source_ports => "1024:",
32           :rate_limit => "-",
33           :connection_limit => "-"
34         }
35       ]
36     },
37     :nameservers => [
38       "8.8.8.8",
39       "1.1.1.1"
40     ],
41     :roles => {
42       :external => {
43         :zone => "osm"
44       }
45     }
46   }
47 )
48
49 override_attributes(
50   :ntp => {
51     :servers => ["0.co.pool.ntp.org", "1.co.pool.ntp.org", "south-america.pool.ntp.org"]
52   }
53 )
54
55 run_list(
56   "role[co]"
57 )