]> git.openstreetmap.org Git - chef.git/blob - roles/aws.rb
nominatim: increase number of tracked connections
[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         :inet => {
18           :prefix => "32"
19         }
20       }
21     }
22   }
23 )
24
25 override_attributes(
26   :ntp => {
27     :servers => ["0.ie.pool.ntp.org", "1.ie.pool.ntp.org", "europe.pool.ntp.org"]
28   }
29 )
30
31 run_list(
32   "role[ie]"
33 )