X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fpostgres%2Fmanifests%2Fbackup_source.pp;h=06d2dd32e006f029462cfbbba5df67cdbec5967b;hb=6e1fd1daa86aca513cd272f100ccc5ce558b5688;hp=835d214d105cf2ba501f2da8417287dcedb3407e;hpb=3a98269574ed3307cdfd60345e07b56108ef2071;p=mirror%2Fdsa-puppet.git diff --git a/modules/postgres/manifests/backup_source.pp b/modules/postgres/manifests/backup_source.pp index 835d214d1..06d2dd32e 100644 --- a/modules/postgres/manifests/backup_source.pp +++ b/modules/postgres/manifests/backup_source.pp @@ -36,8 +36,19 @@ class postgres::backup_source { pg_cluster => 'debbugs', } } + if $::hostname in [danzi] { + postgres::backup_cluster { $::hostname: + pg_version => '9.6', + pg_port => 5433, + } + 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}}": } }