]> git.openstreetmap.org Git - chef.git/blob - roles/hostedinnz.rb
Version bump cividiscount
[chef.git] / roles / hostedinnz.rb
1 name "hostedinnz"
2 description "Role applied to all servers at HostedIn.NZ"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :asmith => { :status => :administrator }
8     }
9   },
10   :hosted_by => "HostedIn.NZ",
11   :location => "Wellington, New Zealand",
12   :snmpd => {
13     :clients => ["103.106.66.28"],
14     :community => "hostedinnz",
15     :location => "Wellington"
16   }
17 )
18
19 override_attributes(
20   :ntp => {
21     :servers => ["0.nz.pool.ntp.org", "1.nz.pool.ntp.org", "oceania.pool.ntp.org"]
22   }
23 )
24
25 run_list(
26   "role[nz]",
27   "recipe[snmpd]"
28 )