require => Package['bacula-director-pgsql']
}
+ exec { 'bacula-director reload':
+ path => '/usr/bin:/usr/sbin:/bin:/sbin',
+ command => 'service bacula-director reload',
+ refreshonly => true,
+ }
+
+
file { '/etc/bacula/conf.d':
ensure => directory,
mode => '0755',
force => true,
recurse => true,
source => 'puppet:///files/empty/',
- notify => Service['bacula-director']
+ notify => Exec['bacula-director reload']
}
file { '/etc/bacula/bacula-dir.conf':
mode => '0440',
group => bacula,
require => Package['bacula-director-pgsql'],
- notify => Service['bacula-director']
+ notify => Exec['bacula-director reload']
}
@ferm::rule { 'dsa-bacula-dir':
mode => '0440',
group => bacula,
require => Package['bacula-director-pgsql'],
- notify => Service['bacula-director']
+ notify => Exec['bacula-director reload']
}
Bacula::Node<<| |>>