| EOTEMPLATE
order => '99',
}
+ file { '/etc/cron.d/puppet-postgres-make-base-backups':
+ ensure => absent;
+ }
if $::hostname in [backuphost] {
- file { '/etc/cron.d/puppet-postgres-make-base-backups':
- content => "20 1 * * 0 debbackup chronic ${$postgres::backup_server::globals::make_base_backups}\n",
+ concat::fragment { 'dsa-puppet-stuff--porterbox-chroot-update':
+ target => '/etc/cron.d/dsa-puppet-stuff',
+ content => @("EOF")
+ 20 1 * * 0 debbackup chronic ${$postgres::backup_server::globals::make_base_backups}
+ | EOF
}
} else {
- file { '/etc/cron.d/puppet-postgres-make-base-backups':
- content => "20 0 * * 6 debbackup chronic ${$postgres::backup_server::globals::make_base_backups}\n",
+ concat::fragment { 'dsa-puppet-stuff--porterbox-chroot-update':
+ target => '/etc/cron.d/dsa-puppet-stuff',
+ content => @("EOF")
+ 20 0 * * 6 debbackup chronic ${$postgres::backup_server::globals::make_base_backups}
+ | EOF
}
}