X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fpostgres%2Fmanifests%2Fbackup_source.pp;h=304e7d6cdd736fbdad4b4c2eeb3446273a0dc16e;hb=015fa6b401098df522b1adf8e574a88d581ef340;hp=e642ca732d0cc2fad8f5f467a773333d9884736d;hpb=e9e6c1abe830ad5d653c9afd237f437fb07ee3ed;p=mirror%2Fdsa-puppet.git diff --git a/modules/postgres/manifests/backup_source.pp b/modules/postgres/manifests/backup_source.pp index e642ca732..304e7d6cd 100644 --- a/modules/postgres/manifests/backup_source.pp +++ b/modules/postgres/manifests/backup_source.pp @@ -2,17 +2,19 @@ # See dsa-wiki input/howto/postgres-backup.creole for some documentation # class postgres::backup_source { + include postgres::backup_server::register_backup_clienthost + file { '/usr/local/bin/pg-backup-file': mode => '0555', - source => 'puppet:///modules/postgres/backup_sources/pg-backup-file', + source => 'puppet:///modules/postgres/backup_source/pg-backup-file', } file { '/etc/dsa/pg-backup-file.conf': - content => template('postgres/backup_sources/pg-backup-file.conf.erb'), + 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', + source => 'puppet:///modules/postgres/pg-receive-file-from-backup', } ssh::keygen {'postgres': }