class bacula::client inherits bacula {
@@bacula::storage-per-node { $::fqdn: }
- if $::hostname in [beethoven, berlioz, biber, diabelli, dinis, draghi, geo3, kaufmann, lully, master, new-master, reger, schumann, soler, vento, vieuxtemps, wilder, wolkenstein] {
+ if $::hostname in [beethoven, berlioz, biber, diabelli, dinis, draghi, geo3, kaufmann, lully, master, picconi, reger, schumann, soler, vento, vieuxtemps, wilder, wolkenstein] {
@@bacula::node { $::fqdn: }
}
require => Package['bacula-fd']
}
+ exec { 'bacula-fd restart-when-idle':
+ path => '/usr/bin:/usr/sbin:/bin:/sbin',
+ command => '(setsid /usr/local/sbin/bacula-idle-restart fd &)',
+ refreshonly => true,
+ subscribe => File['/etc/ssl/debian/certs/thishost.crt'],
+ require => File['/usr/local/sbin/bacula-idle-restart'],
+ }
+
file { '/etc/bacula/bacula-fd.conf':
content => template('bacula/bacula-fd.conf.erb'),
mode => '0640',