]> git.openstreetmap.org Git - chef.git/blob - roles/db-master.rb
Use SotM 2013 container and rename jekyll recipe to container
[chef.git] / roles / db-master.rb
1 name "db-master"
2 description "Role applied to all the master database server"
3
4 default_attributes(
5   :postgresql => {
6     :settings => {
7       :defaults => {
8         :archive_mode => "on",
9         :archive_command => "/usr/local/bin/openstreetmap-wal-g wal-push %p --walg-prevent-wal-overwrite=true"
10       }
11     }
12   }
13 )
14
15 run_list(
16   "role[db]",
17   "recipe[db::master]",
18   "recipe[rsyncd]"
19 )