X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/5d65f850c7bedbd18f68f6ba7ad2db87ed6387c2..2d41fdc4b054d4607fdbe76a57c4ee9ab178d73e:/roles/edgeuno.rb diff --git a/roles/edgeuno.rb b/roles/edgeuno.rb index d3416bba6..a11b1af86 100644 --- a/roles/edgeuno.rb +++ b/roles/edgeuno.rb @@ -2,9 +2,37 @@ name "edgeuno" description "Role applied to all servers at Edgeuno" default_attributes( + :accounts => { + :users => { + :e1admin => { :status => :administrator } + } + }, :hosted_by => "EdgeUno", - :location => "Bogotá, Colombia", :networking => { + :firewall => { + :inet => [ + { + :action => "ACCEPT", + :source => "net:200.25.3.8/31", + :dest => "fw", + :proto => "udp", + :dest_ports => "snmp", + :source_ports => "1024:", + :rate_limit => "-", + :connection_limit => "-" + }, + { + :action => "ACCEPT", + :source => "net:200.25.3.8/31", + :dest => "fw", + :proto => "tcp", + :dest_ports => "snmp", + :source_ports => "1024:", + :rate_limit => "-", + :connection_limit => "-" + } + ] + }, :nameservers => [ "8.8.8.8", "1.1.1.1" @@ -16,13 +44,3 @@ default_attributes( } } ) - -override_attributes( - :ntp => { - :servers => ["0.co.pool.ntp.org", "1.co.pool.ntp.org", "south-america.pool.ntp.org"] - } -) - -run_list( - "role[co]" -)