X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fstorage.pp;h=1e538bf17cd1f158cf00bc6d731cd5e55d6a6832;hb=891ab115f249a1c7e186cca9145989112353a5a0;hp=7c274c1cef7ff684f98903bdd71c6760ef5fca55;hpb=98804481f258feaeb90769ad4b195c3c26e1fb19;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/storage.pp b/modules/bacula/manifests/storage.pp index 7c274c1ce..1e538bf17 100644 --- a/modules/bacula/manifests/storage.pp +++ b/modules/bacula/manifests/storage.pp @@ -78,8 +78,12 @@ class bacula::storage inherits bacula { source => 'puppet:///modules/bacula/bacula-unlink-removed-volumes', mode => '0555', } - file { "/etc/cron.d/puppet-bacula-storage-stuff": - content => "MAILTO=root\n@daily bacula chronic /usr/local/bin/bacula-unlink-removed-volumes -v\n"; + 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<<| |>>