]> git.openstreetmap.org Git - chef.git/blob - roles/netalerts.rb
Use a common set of default resolvers, defaulting to cloudflare
[chef.git] / roles / netalerts.rb
1 name "netalerts"
2 description "Role applied to all servers at NetAlerts"
3
4 default_attributes(
5   :hosted_by => "NetAlerts",
6   :location => "MontrĂ©al, Canada",
7   :timezone => "America/Montreal"
8 )
9
10 override_attributes(
11   :networking => {
12     :nameservers => ["209.172.41.202", "209.172.41.200"]
13   },
14   :ntp => {
15     :servers => ["0.ca.pool.ntp.org", "1.ca.pool.ntp.org", "north-america.pool.ntp.org"]
16   }
17 )
18
19 run_list(
20   "role[ca]"
21 )