projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move crontab bacula-storage into dsa-puppet-stuff
[mirror/dsa-puppet.git]
/
modules
/
bacula
/
manifests
/
storage.pp
diff --git
a/modules/bacula/manifests/storage.pp
b/modules/bacula/manifests/storage.pp
index
7c274c1
..
d926e4e
100644
(file)
--- a/
modules/bacula/manifests/storage.pp
+++ b/
modules/bacula/manifests/storage.pp
@@
-79,7
+79,13
@@
class bacula::storage inherits bacula {
mode => '0555',
}
file { "/etc/cron.d/puppet-bacula-storage-stuff":
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";
+ 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<<| |>>
}
Bacula::Storage_per_node<<| |>>