projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace debbackup with parameterized username in most places
[mirror/dsa-puppet.git]
/
modules
/
postgres
/
manifests
/
backup_server
/
globals.pp
diff --git
a/modules/postgres/manifests/backup_server/globals.pp
b/modules/postgres/manifests/backup_server/globals.pp
index
bdac822
..
327ed6e
100644
(file)
--- a/
modules/postgres/manifests/backup_server/globals.pp
+++ b/
modules/postgres/manifests/backup_server/globals.pp
@@
-1,9
+1,13
@@
# Global definitions for the postgres::backup_server setup
#
# Global definitions for the postgres::backup_server setup
#
+# @param backup_unix_user unix user on the backup host
+# @param backup_unix_group group of unix user on the backup host
# @param pgpassfile pg password file for pg_basebackup runs
# @param base_backup_clusters where to store the list of clusters to make base backups of
class postgres::backup_server::globals(
# @param pgpassfile pg password file for pg_basebackup runs
# @param base_backup_clusters where to store the list of clusters to make base backups of
class postgres::backup_server::globals(
- String $pgpassfile = '/home/debbackup/.pgpass',
+ String $backup_unix_user,
+ String $backup_unix_group = $backup_unix_user,
+ String $pgpassfile = "/home/${backup_unix_user}/.pgpass",
String $sshkeys_sources = '/etc/dsa/postgresql-backup/sshkeys-sources',
String $base_backup_clusters = '/etc/dsa/postgresql-backup/base-backup-clusters',
) {
String $sshkeys_sources = '/etc/dsa/postgresql-backup/sshkeys-sources',
String $base_backup_clusters = '/etc/dsa/postgresql-backup/base-backup-clusters',
) {