]> git.openstreetmap.org Git - chef.git/blob - roles/web.rb
Tile: Switch back to default parent.
[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   :apt => {
14     :sources => [ "brightbox-ruby-ng" ]
15   },
16   :nfs => {
17     "/store/rails" => { :host => "ironbelly", :path => "/store/rails" }
18   },
19   :web => {
20     :status => "online",
21     :database_host => "db"
22   }
23 )
24
25 run_list(
26   "recipe[nfs]"
27 )