]> git.openstreetmap.org Git - chef.git/blob - roles/web.rb
Fix interface names for grindtooth
[chef.git] / roles / web.rb
1 name "web"
2 description "Role applied to all web/api servers"
3
4 default_attributes(
5   :accounts => {
6     :users => {
7       :rails => {
8         :status => :role,
9         :members => [:tomh, :grant]
10       }
11     }
12   },
13   :nfs => {
14     "/store/rails" => { :host => "ironbelly", :path => "/store/rails" }
15   },
16   :passenger => {
17     :pool_idle_time => 0
18   },
19   :web => {
20     :status => "online",
21     :database_host => "db",
22     :readonly_database_host => "db-slave"
23   }
24 )
25
26 run_list(
27   "recipe[nfs]"
28 )