From f8559e4afebbfb90594bb66fe2c067e08b42a2be Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 1 Oct 2017 20:07:27 +0200 Subject: [PATCH] add danzi/debconf pg cluster as backup source --- modules/postgres/manifests/backup_source.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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}}": } } -- 2.20.1