Adjust zuul's init.pp to check for and enable cgid instead of cgi.

When attempting to a2enmod cgi, Apache automatically selects cgid if a threaded
MPM is detected. The Puppet configuration then fails to converge when it is
unable to detect the expected cgi module in the future. Switching to explicit
cgid allows the configuration to converge without issues.

Change-Id: I71789d4a06c779541ea4abda5c467cd8c8729d0e
This commit is contained in:
Tim Buckley 2015-07-06 12:34:49 -06:00
parent b6f8060656
commit 81a594eb81

View File

@ -419,8 +419,8 @@ class zuul (
ensure => present,
}
}
if ! defined(Httpd_mod['cgi']) {
httpd_mod { 'cgi':
if ! defined(Httpd_mod['cgid']) {
httpd_mod { 'cgid':
ensure => present,
}
}