]> git.openstreetmap.org Git - chef.git/blob - roles/web.rb
Update database address for replication
[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   :passenger => {
14     :pool_idle_time => 0
15   },
16   :web => {
17     :status => "online",
18     :database_host => "katla.bm.openstreetmap.org",
19     :readonly_database_host => "ramoth.ic.openstreetmap.org"
20   }
21 )