Commit 6b0c3a12 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more work on dependency issue

parent cb18d5e8
......@@ -60,6 +60,7 @@ class su_apache (
'RedHat' => 'sh -c "apachectl configtest && /etc/init.d/httpd reload"',
},
refreshonly => true,
require => Package['apache'],
}
# Operating-system-specific Apache tweaks.
......
......@@ -31,6 +31,7 @@ define su_apache::module(
exec { $cmd:
command => $cmd,
path => '/usr/sbin:/usr/bin',
require => Package['apache'],
unless => "[ $condition ]",
notify => Exec['su_apache_reload'];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment