]> git.openstreetmap.org Git - chef.git/blob - roles/teraswitch.rb
Add test for fail2ban cookbook
[chef.git] / roles / teraswitch.rb
1 name "teraswitch"
2 description "Role applied to all servers at TeraSwitch Networks"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :sysadmin => { :status => :administrator }
8     }
9   },
10   :hosted_by => "TeraSwitch Networks",
11   :location => "Pittsburgh, Pennsylvania",
12   :timezone => "EST5EDT",
13   :networking => {
14     :nameservers => [
15       "1.1.1.1",
16       "8.8.8.8"
17     ],
18     :roles => {
19       :external => {
20         :zone => "osm"
21       }
22     }
23   }
24 )
25
26 override_attributes(
27   :ntp => {
28     :servers => ["0.us.pool.ntp.org", "1.us.pool.ntp.org", "north-america.pool.ntp.org"]
29   }
30 )
31
32 run_list(
33   "role[us]"
34 )