- file { '/etc/bacula/storage-conf.d/empty.conf':
- content => '',
- mode => '0440',
- group => bacula,
- notify => Exec['bacula-sd restart-when-idle']
- }
-
- file { "${bacula_backup_path}/Catalog":
- ensure => directory,
- mode => '0755',
- owner => bacula,
- group => bacula,
- ;
- }
-
- Bacula::Storage-per-Node<<| |>>
+ package { 'python3-psycopg2': ensure => installed }
+ file { '/usr/local/bin/bacula-unlink-removed-volumes':
+ source => 'puppet:///modules/bacula/bacula-unlink-removed-volumes',
+ mode => '0555',
+ }
+ file { '/etc/cron.d/puppet-bacula-storage-stuff': ensure => absent, }
+ concat::fragment { 'puppet-crontab--bacula-storage':
+ target => '/etc/cron.d/puppet-crontab',
+ content => @(EOF)
+ @daily bacula chronic /usr/local/bin/bacula-unlink-removed-volumes -v
+ | EOF
+ }