Fix postgres-make-base-backups for new puppet
authorJulien Cristau <jcristau@debian.org>
Sun, 19 Mar 2017 10:43:26 +0000 (11:43 +0100)
committerJulien Cristau <jcristau@debian.org>
Sun, 19 Mar 2017 10:43:26 +0000 (11:43 +0100)
modules/postgres/templates/backup_server/postgres-make-base-backups.erb

index ddc2a3c..1e11b57 100755 (executable)
@@ -98,7 +98,7 @@ vittoria.debian.org   5432    debian-backup           main            9.4
 melartin.debian.org    5432    debian-backup           main            9.6
 buxtehude.debian.org   5433    debian-backup           main            9.4
 buxtehude.debian.org   5441    debian-backup           debbugs         9.6
-<%- if hostname != "backuphost" -%>
+<%- if @hostname != "backuphost" -%>
 moszumanska.debian.org 5432    debian-backup           main            9.1
 <%- end -%>
 EOF