X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/bf224da116c5a68ed9317a2433dfffd99b992ac4:/roles/ic.rb..fba89b0d71a9dd87d0c3c57fb2f84263c3b36a14:/roles/equinix.rb diff --git a/roles/ic.rb b/roles/equinix.rb similarity index 58% rename from roles/ic.rb rename to roles/equinix.rb index ae991575a..eaa81c314 100644 --- a/roles/ic.rb +++ b/roles/equinix.rb @@ -1,14 +1,9 @@ -name "ic" -description "Role applied to all servers at Imperial College" +name "equnix" +description "Role applied to all servers at Equinix" default_attributes( - :accounts => { - :users => { - :icladmin => { :status => :user } - } - }, :networking => { - :nameservers => ["8.8.8.8", "146.179.159.177"], + :nameservers => ["66.28.0.45", "66.28.0.61", "2001:978:1:1::d", "2001:978:1:2::d"], :roles => { :internal => { :inet => { @@ -17,7 +12,7 @@ default_attributes( } }, :external => { - :zone => "ic", + :zone => "ams", :inet => { :prefix => "27", :gateway => "130.117.76.30" @@ -32,19 +27,19 @@ default_attributes( :web => { :backends => %w[rails1 rails2 rails3], :fileserver => "ironbelly", - :readonly_database_host => "karm.ic.openstreetmap.org" + :readonly_database_host => "karm.ams.openstreetmap.org" } ) override_attributes( :networking => { - :search => ["ic.openstreetmap.org", "openstreetmap.org"] + :search => ["ams.openstreetmap.org", "openstreetmap.org"] }, :ntp => { - :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"] + :servers => ["0.nl.pool.ntp.org", "1.nl.pool.ntp.org", "europe.pool.ntp.org"] } ) run_list( - "role[gb]" + "role[nl]" )