X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bd4556b58140de3140b783be7ad50f5505211425..4dc79aaa9f9cae066694284bc451f94969523038:/roles/hostedinnz.rb?ds=inline diff --git a/roles/hostedinnz.rb b/roles/hostedinnz.rb index 86438e01f..9bf941404 100644 --- a/roles/hostedinnz.rb +++ b/roles/hostedinnz.rb @@ -2,24 +2,27 @@ name "hostedinnz" description "Role applied to all servers at HostedIn.NZ" default_attributes( + :accounts => { + :users => { + :asmith => { :status => :administrator } + } + }, :hosted_by => "HostedIn.NZ", :location => "Wellington, New Zealand", - :networking => { - :nameservers => ["8.8.8.8", "8.8.4.4"], - :roles => { - :external => { - :zone => "osm" - } - } + :snmpd => { + :clients => ["103.106.66.28"], + :community => "hostedinnz", + :location => "Wellington" } ) override_attributes( :ntp => { - :servers => ["0.nz.pool.ntp.org", "1.nz.pool.ntp.org", "asia.pool.ntp.org"] + :servers => ["0.nz.pool.ntp.org", "1.nz.pool.ntp.org", "oceania.pool.ntp.org"] } ) run_list( - "role[nz]" + "role[nz]", + "recipe[snmpd]" )