####
# Regularly pull base backups
#
- ensure_packages ( "postgresql-client-9.1", { ensure => 'installed' })
- ensure_packages ( "postgresql-client-9.4", { ensure => 'installed' })
+ ensure_packages ( "postgresql-client-9.6", { ensure => 'installed' })
concat { $postgres::backup_server::globals::make_base_backups:
mode => '0555',
content => template('postgres/backup_server/dsa-check-backuppg-manual.conf.erb'),
notify => Exec['update dsa-check-backuppg-manual.conf']
}
- file { '/etc/dsa/postgresql-backup/dsa-check-backuppg.conf.d/moszumanska.conf':
- ensure => ($::hostname in [backuphost]) ? {
- true => 'absent',
- default => 'present'
- },
- content => @(EOF),
- ---
- backups:
- moszumanska:
- main:
- | EOF
- notify => Exec['update dsa-check-backuppg-manual.conf']
- }
File<<| tag == $postgres::backup_server::globals::tag_dsa_check_backupp |>>
ensure_packages ( "libhash-merge-simple-perl", { ensure => 'installed' })
exec { "update dsa-check-backuppg-manual.conf":