From: Julien Cristau Date: Sun, 1 Oct 2017 18:07:27 +0000 (+0200) Subject: add danzi/debconf pg cluster as backup source X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f8559e4afebbfb90594bb66fe2c067e08b42a2be;p=mirror%2Fdsa-puppet.git add danzi/debconf pg cluster as backup source --- diff --git a/modules/postgres/manifests/backup_source.pp b/modules/postgres/manifests/backup_source.pp index 835d214d1..0c9407bd9 100644 --- a/modules/postgres/manifests/backup_source.pp +++ b/modules/postgres/manifests/backup_source.pp @@ -36,8 +36,15 @@ class postgres::backup_source { pg_cluster => 'debbugs', } } + if $::hostname in [danzi] { + postgres::backup_cluster { "${::hostname}-debconf": + pg_version => '9.6', + pg_port => 5434, + pg_cluster => 'debconf', + } + } - if $::hostname in [melartin, vittoria, godard, buxtehude] { + if $::hostname in [melartin, vittoria, godard, buxtehude, danzi] { postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}": } }