Make a postgres-make-one-base-backup script with the logic from postgres-make-base...
[mirror/dsa-puppet.git] / modules / postgres / manifests / backup_server.pp
index 60a948a..c9c3d47 100644 (file)
@@ -66,6 +66,10 @@ class postgres::backup_server {
                mode   => '0555',
                notify  => Exec['postgres-make-backup-sshauthkeys'],
        }
+       file { '/usr/local/bin/postgres-make-one-base-backup':
+               source  => 'puppet:///modules/postgres/backup_server/postgres-make-one-base-backup',
+               mode   => '0555'
+       }
        file { '/etc/dsa/postgresql-backup/sshkeys-manual':
                content => template('postgres/backup_server/sshkeys-manual.erb'),
                notify  => Exec['postgres-make-backup-sshauthkeys'],