systemd: create unexistent .d directory v2
[mirror/dsa-puppet.git] / modules / postgres / manifests / backup_source.pp
index 835d214..06d2dd3 100644 (file)
@@ -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}}":
                }
        }