diff --git a/apache/manifests/redhat.pp b/apache/manifests/redhat.pp index 178ef45..45f3390 100644 --- a/apache/manifests/redhat.pp +++ b/apache/manifests/redhat.pp @@ -176,7 +176,13 @@ class apache::redhat::sslserver { mode => "0755", owner => "root", group => "root", - before => Service["httpsd"], + notify => Exec["chkconfig --add httpsd"], + } + exec { "chkconfig --add httpsd": + user => "root", + path => "/bin:/usr/bin:/sbin:/usr/sbin", + refreshonly => true, + before => Service["httpsd"], } } }