Commits

Peter Eisentraut  committed 544ede5

Reload ferm on refresh only

  • Participants
  • Parent commits bbfca61

Comments (0)

Files changed (1)

File modules/ferm/manifests/init.pp

       owner   => 'root',
       group   => 'adm',
       mode    => 'u=rw,go=r',
-      notify  => Service['ferm'],
+      notify  => Exec['ferm-reload'],
       source  => 'puppet:///modules/ferm/ferm.conf';
   }
 
-  service {
-    'ferm':
-      ensure => running,
+  exec {
+    'ferm-reload':
+      command => '/etc/init.d/ferm reload',
+      refreshonly => true,
       require => Package['ferm'],
   }
 }