]> git.openstreetmap.org Git - chef.git/blob - roles/osuosl.rb
Move db-slave and nominatim-slave roles to public repository
[chef.git] / roles / osuosl.rb
1 name "osuosl"
2 description "Role applied to all servers at OSUOSL"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :osuadmin => { :status => :administrator }
8     }
9   },
10   :location => "Corvallis, Oregon",
11   :networking => {
12     :nameservers => ["8.8.8.8", "8.8.4.4"],
13     :roles => {
14       :external => {
15         :zone => "ool",
16         :inet => {
17           :prefix => "28",
18           :gateway => "140.211.167.97"
19         }
20       }
21     }
22   }
23 )
24
25 override_attributes(
26   :ntp => {
27     :servers => ["ntp.osuosl.org"]
28   }
29 )
30
31 run_list(
32   "role[us]"
33 )