String $pool_name = 'bacula',
Integer $port_dir = 9101,
Optional[String] $db_sslca = undef,
String $pool_name = 'bacula',
Integer $port_dir = 9101,
Optional[String] $db_sslca = undef,
- #String $director_name = "${::fqdn}-dir",
- String $director_name = $bacula::bacula_director_name,
+ String $director_name = "${::fqdn}-dir",
file { '/etc/cron.d/puppet-bacula-stuff': ensure => absent, }
concat::fragment { 'puppet-crontab--bacula-director':
target => '/etc/cron.d/puppet-crontab',
file { '/etc/cron.d/puppet-bacula-stuff': ensure => absent, }
concat::fragment { 'puppet-crontab--bacula-director':
target => '/etc/cron.d/puppet-crontab',
- @daily root chronic /etc/bacula/scripts/volumes-delete-old -v
- */3 * * * * root sleep $(( $RANDOM \% 60 )); flock -w 0 -e /usr/local/sbin/dsa-bacula-scheduler /usr/local/sbin/dsa-bacula-scheduler
+ @daily root chronic /etc/bacula/scripts/volumes-delete-old -v --token '${pool_name}'
+ */3 * * * * root sleep $(( \$RANDOM \\% 60 )); flock -w 0 -e /usr/local/sbin/dsa-bacula-scheduler /usr/local/sbin/dsa-bacula-scheduler