Displaying 1 result from an estimated 1 matches for "apache2reload".
2011 Aug 01
3
Class inheritance or virtual resources to manage apache modules
...dules to disable, basically all modules would be
listed here by default
$disable_apachemods = [ "module4", "module5", "module6", ]
# Process list of apache modules to enable
a2mod { $enable_apachemods: ensure => "present", notify =>
Exec["apache2reload"] }
# Process list of apache modules to disable
a2mod { $disable_apachemods: ensure => "absent", notify =>
Exec["apache2reload"] }
}
Then as I have other classes defined that require a specific apache
module they should simply set it to ''present...