- file {
- "/etc/bacula/bacula-fd.conf":
- content => template("bacula/bacula-fd.conf.erb"),
- mode => 640,
- owner => root,
- group => bacula,
- require => Package["bacula-fd"],
- notify => Exec["bacula-fd restart"]
- ;
- }
+ file {
+ '/etc/bacula/bacula-fd.conf':
+ content => template('bacula/bacula-fd.conf.erb'),
+ mode => '0640',
+ owner => root,
+ group => bacula,
+ require => Package['bacula-fd'],
+ notify => Service['bacula-fd'],
+ ;
+ '/usr/local/sbin/postbaculajob':
+ mode => '0775',
+ source => 'puppet:///modules/bacula/postbaculajob',
+ ;
+ }