X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fpostgres%2Fmanifests%2Fbackup_source.pp;h=d2443a187ad346769c32642ad93853fb1f5f0a6b;hb=820c1c410cb381be3af94859695658cd093b8829;hp=146726ace08e0693398358ae040c9194d44cbd15;hpb=e2179b02047f4b3f0407d62fb706093f5bcef91f;p=mirror%2Fdsa-puppet.git diff --git a/modules/postgres/manifests/backup_source.pp b/modules/postgres/manifests/backup_source.pp index 146726ace..d2443a187 100644 --- a/modules/postgres/manifests/backup_source.pp +++ b/modules/postgres/manifests/backup_source.pp @@ -45,8 +45,17 @@ class postgres::backup_source { } } - if $::hostname in [melartin, vittoria, godard, buxtehude, danzi] { + if $::hostname in [postgresql-manda-01] { + postgres::backup_cluster { "${::hostname}-bacula": + pg_version => '11', + pg_port => 5432, + pg_cluster => 'bacula', + } + } + + if $::hostname in [melartin, vittoria, godard, buxtehude, danzi, postgresql-manda-01] { postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}": } } + }