]> git.openstreetmap.org Git - chef.git/blob - roles/db-master.rb
prometheus: Add arm64 support for server
[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         :wal_keep_size => "16384"
11       }
12     }
13   }
14 )
15
16 run_list(
17   "role[db]",
18   "recipe[db::master]",
19   "recipe[rsyncd]"
20 )