fix paths
[mirror/dsa-puppet.git] / modules / postgres / manifests / backup_source.pp
1 #
2 # See dsa-wiki input/howto/postgres-backup.creole for some documentation
3 #
4 class postgres::backup_source {
5   file { '/usr/local/bin/pg-backup-file':
6     mode   => '0555',
7     source => 'puppet:///modules/postgres/backup_source/pg-backup-file',
8   }
9   file { '/etc/dsa/pg-backup-file.conf':
10     content => template('postgres/backup_source/pg-backup-file.conf.erb'),
11   }
12
13   file { '/usr/local/bin/pg-receive-file-from-backup':
14     mode   => '0555',
15     source => 'puppet:///modules/roles/postgresql_server/pg-receive-file-from-backup',
16   }
17
18   ssh::keygen {'postgres': }
19 }