but this does not work
[mirror/dsa-puppet.git] / modules / ferm / manifests / per-host.pp
index 1532f9f..53faf51 100644 (file)
@@ -125,7 +125,7 @@ class ferm::per-host {
                                '/etc/ferm/conf.d/load_sip_conntrack.conf':
                                        source => 'puppet:///modules/ferm/conntrack_sip.conf',
                                        require => Package['ferm'],
-                                       notify  => Exec['ferm restart'];
+                                       notify  => Service['ferm'],
                        }
                        @ferm::rule { 'dsa-sip':
                                domain          => '(ip ip6)',
@@ -238,7 +238,7 @@ REJECT reject-with icmp-admin-prohibited
                default: {}
        }
 
-       if $::rsyncd == true {
+       if $::rsyncd {
                include ferm::rsync
        }
 }