X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d7bfa648776bb56cc3296cf750d1db9904678eb5..682e1fcdcb50f1cf42560a905512487c02dbdcb4:/roles/aws.rb?ds=sidebyside diff --git a/roles/aws.rb b/roles/aws.rb index 5f4ac7ace..443878161 100644 --- a/roles/aws.rb +++ b/roles/aws.rb @@ -1,34 +1,12 @@ name "aws" -description "Role applied to all servers on AWS" +description "Role applied to all servers at AWS" default_attributes( - :hosted_by => "AWS", - :location => "Ireland", - :networking => { - :nameservers => ["172.31.0.2"], - :roles => { - :internal => { - :inet => { - :prefix => "20", - :gateway => "172.31.0.1" - } - }, - :external => { - :zone => "aws", - :inet => { - :prefix => "32" - } - } - } - } + :hosted_by => "AWS" ) override_attributes( :ntp => { - :servers => ["0.ie.pool.ntp.org", "1.ie.pool.ntp.org", "europe.pool.ntp.org"] + :servers => ["169.254.169.123"] } ) - -run_list( - "role[ie]" -)