X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/44de5598fddc11a7594ebc8a0fdd3ea6bf598a75..fbd1e8f60e9535b88f46f0b33b49e85f7787b962:/roles/aws.rb diff --git a/roles/aws.rb b/roles/aws.rb index eabb762c7..443878161 100644 --- a/roles/aws.rb +++ b/roles/aws.rb @@ -1,26 +1,12 @@ name "aws" -description "Role applied to all servers on AWS" +description "Role applied to all servers at AWS" default_attributes( - :networking => { - :nameservers => ["172.31.0.2"], - :roles => { - :internal => { - :inet => { - :prefix => "20", - :gateway => "172.31.0.1" - } - } - } - } + :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]" -)