]> git.openstreetmap.org Git - chef.git/blob - roles/aws.rb
Send uploads to the amsterdam backends
[chef.git] / roles / aws.rb
1 name "aws"
2 description "Role applied to all servers on AWS"
3
4 default_attributes(
5   :hosted_by => "AWS",
6   :location => "Ireland",
7   :networking => {
8     :nameservers => ["172.31.0.2"],
9     :roles => {
10       :internal => {
11         :inet => {
12           :prefix => "20",
13           :gateway => "172.31.0.1"
14         }
15       },
16       :external => {
17         :zone => "aws",
18         :inet => {
19           :prefix => "32"
20         }
21       }
22     }
23   }
24 )
25
26 override_attributes(
27   :ntp => {
28     :servers => ["0.ie.pool.ntp.org", "1.ie.pool.ntp.org", "europe.pool.ntp.org"]
29   }
30 )
31
32 run_list(
33   "role[ie]"
34 )