enable => true,
hasstatus => true,
}
+ systemd::override { 'bacula-sd':
+ content => @(EOT)
+ [Service]
+ Group=bacula
+ SupplementaryGroups=ssl-cert
+ | EOT
+ }
exec { 'bacula-sd restart-when-idle':
path => '/usr/bin:/usr/sbin:/bin:/sbin',
;
}
- 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":
+ content => "MAILTO=root\n@daily bacula chronic /usr/local/bin/bacula-unlink-removed-volumes -v\n";
+ }
+ Bacula::Storage_per_node<<| |>>
}