]> git.openstreetmap.org Git - chef.git/blob - roles/web.rb
Use frontends for memcache storage
[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         :members => [:tomh, :grant]
9       }
10     }
11   },
12   :exim => {
13     :trusted_users => ["rails"]
14   },
15   :passenger => {
16     :pool_idle_time => 3600
17   },
18   :web => {
19     :status => "online",
20     :memcached_servers => %w[spike-06.ams spike-07.ams spike-08.ams]
21   }
22 )
23
24 run_list(
25   "role[web-db]"
26 )