hasstatus => false,
status => '/bin/true',
}
+ exec {
+ "ferm reload":
+ command => "service ferm reload",
+ refreshonly => true,
+ }
+
$munin_ips = getfromhash($site::nodeinfo, 'misc', 'v4addrs')
.map |$addr| { "ip_${addr}" }
file { '/etc/ferm':
ensure => directory,
- notify => Service['ferm'],
+ notify => Exec['ferm reload'],
require => Package['ferm'],
mode => '0755'
}
file { '/etc/default/ferm':
source => 'puppet:///modules/ferm/ferm.default',
require => Package['ferm'],
- notify => Service['ferm'],
+ notify => Exec['ferm reload'],
mode => '0444',
}
file { '/etc/ferm/ferm.conf':
content => template('ferm/ferm.conf.erb'),
- notify => Service['ferm'],
+ notify => Exec['ferm reload'],
}
file { '/etc/ferm/conf.d/00-init.conf':
content => template('ferm/00-init.conf.erb'),
- notify => Service['ferm'],
+ notify => Exec['ferm reload'],
}
file { '/etc/ferm/conf.d/me.conf':
content => template('ferm/me.conf.erb'),
- notify => Service['ferm'],
+ notify => Exec['ferm reload'],
}
file { '/etc/ferm/conf.d/defs.conf':
content => template('ferm/defs.conf.erb'),
- notify => Service['ferm'],
+ notify => Exec['ferm reload'],
}
file { '/etc/ferm/conf.d/50-munin-interfaces.conf':
content => template('ferm/conf.d-munin-interfaces.conf.erb'),
- notify => Service['ferm'],
+ notify => Exec['ferm reload'],
}
@ferm::rule { 'dsa-munin-interfaces-in':
prio => '001',
file { '/etc/ferm/dsa.d/010-base.conf':
content => template('ferm/dsa.d-010-base.conf.erb'),
- notify => Service['ferm'],
+ notify => Exec['ferm reload'],
}
augeas { 'logrotate_ulogd2':