X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5d65f850c7bedbd18f68f6ba7ad2db87ed6387c2..539dbe9f74466a7ec90ea7cbfb9bc8b49911551d:/roles/edgeuno.rb?ds=inline diff --git a/roles/edgeuno.rb b/roles/edgeuno.rb index d3416bba6..c1224f2ba 100644 --- a/roles/edgeuno.rb +++ b/roles/edgeuno.rb @@ -2,27 +2,40 @@ 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" - ], - :roles => { - :external => { - :zone => "osm" - } - } + ] } ) - -override_attributes( - :ntp => { - :servers => ["0.co.pool.ntp.org", "1.co.pool.ntp.org", "south-america.pool.ntp.org"] - } -) - -run_list( - "role[co]" -)