No more heavy exim on franck
[mirror/dsa-puppet.git] / modules / postgres / manifests / backup_server.pp
1 class postgres::backup_server {
2         package { 'postgresql-client-9.1':
3                 ensure => installed
4         }
5
6         file { '/usr/local/bin/postgres-make-base-backups':
7                 source => 'puppet:///modules/postgres/backup_server/postgres-make-base-backups',
8                 mode   => '0555',
9         }
10         file { '/etc/cron.d/puppet-postgres-make-base-backups':
11                 content  => "20 0 * * 6 debbackup chronic /usr/local/bin/postgres-make-base-backups\n",
12         }
13 }