]> git.openstreetmap.org Git - chef.git/blob - roles/web.rb
Alas poor faffy, he is no more...
[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     :version => 4,
18     :pool_idle_time => 0
19   },
20   :web => {
21     :status => "online",
22     :database_host => "db",
23     :readonly_database_host => "db-slave"
24   }
25 )
26
27 run_list(
28   "recipe[nfs]"
29 )