- 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,
- ;
- }
-
- 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 { 'dsa-puppet-stuff--bacula-storage':
- target => '/etc/cron.d/dsa-puppet-stuff',
- content => @(EOF)
- @daily bacula chronic /usr/local/bin/bacula-unlink-removed-volumes -v
- | EOF
- }
-
- Bacula::Storage_per_node<<| |>>