class postgres::backup_source {
file { '/usr/local/bin/pg-backup-file':
mode => '0555',
- source => 'puppet:///modules/roles/postgresql_server/pg-backup-file',
+ source => 'puppet:///modules/postgres/backup_source/pg-backup-file',
}
+ file { '/etc/dsa/pg-backup-file.conf':
+ content => template('postgres/backup_source/pg-backup-file.conf.erb'),
+ }
+
file { '/usr/local/bin/pg-receive-file-from-backup':
mode => '0555',
- source => 'puppet:///modules/roles/postgresql_server/pg-receive-file-from-backup',
- }
- file { '/etc/dsa/pg-backup-file.conf':
- content => template('roles/postgresql_server/pg-backup-file.conf.erb'),
+ source => 'puppet:///modules/postgres/pg-receive-file-from-backup',
}
ssh::keygen {'postgres': }