X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5d65f850c7bedbd18f68f6ba7ad2db87ed6387c2..4f0f38cd66197af4a7b0a77b059b4fac4ddc5108:/roles/edgeuno.rb?ds=inline diff --git a/roles/edgeuno.rb b/roles/edgeuno.rb index d3416bba6..d6fb53aef 100644 --- a/roles/edgeuno.rb +++ b/roles/edgeuno.rb @@ -2,27 +2,36 @@ name "edgeuno" description "Role applied to all servers at Edgeuno" default_attributes( + :accounts => { + :users => { + :e1admin => { :status => :administrator } + } + }, :hosted_by => "EdgeUno", - :location => "Bogotá, Colombia", :networking => { - :nameservers => [ - "8.8.8.8", - "1.1.1.1" - ], - :roles => { - :external => { - :zone => "osm" - } + :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 => "-" + } + ] } } ) - -override_attributes( - :ntp => { - :servers => ["0.co.pool.ntp.org", "1.co.pool.ntp.org", "south-america.pool.ntp.org"] - } -) - -run_list( - "role[co]" -)