Tell puppet to check for cgid instead of cgi

Puppet was reporting that cgi was absent and getting recreated on
every puppet check.  Fix by checking for cgid instead. This is the
same fix as puppet-zuul change I71789d4a06c7 except this time
applied to puppet-gerrit.

Change-Id: If0d1f52762b6675c5d082fb2f9190d26749a3149
This commit is contained in:
Khai Do 2016-01-26 14:42:36 -08:00
parent 185f87b585
commit 52760eee7f
1 changed files with 2 additions and 2 deletions

View File

@ -447,8 +447,8 @@ class gerrit(
ensure => present,
before => Service['httpd'],
}
if ! defined(Httpd::Mod['cgi']) {
httpd::mod { 'cgi':
if ! defined(Httpd::Mod['cgid']) {
httpd::mod { 'cgid':
ensure => present,
before => Service['httpd'],
}