Move $make_base_backups to postgres::backup_server as it is local there; make some...
[mirror/dsa-puppet.git] / modules / postgres / manifests / backup_server / globals.pp
1 # Global definitions for the postgres::backup_server setup
2 #
3 # @param pgpassfile            pg password file for pg_basebackup runs
4 # @param base_backup_clusters  where to store the list of clusters to make base backups of
5 class postgres::backup_server::globals(
6   String $pgpassfile = '/home/debbackup/.pgpass',
7   String $sshkeys_sources = '/etc/dsa/postgresql-backup/sshkeys-sources',
8   String $base_backup_clusters = '/etc/dsa/postgresql-backup/base-backup-clusters',
9 ) {
10   $tag_base_backup = 'postgresql::server::backup-source-make-base-backup-entry'
11   $tag_source_sshkey = 'postgresql::server::backup-source-sshkey'
12   $tag_source_pgpassline = 'postgresql::server::backup-source-pgpassline'
13   $tag_dsa_check_backupp = 'postgresql::server::backup-dsa-check-backuppg'
14 }