diff --git a/manifests/init.pp b/manifests/init.pp index d988126..79e8f75 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -358,6 +358,11 @@ class gerrit( a2mod { 'proxy_http': ensure => present, } + if ! defined(A2mod['cgi']) { + a2mod { 'cgi': + ensure => present, + } + } if $ssl_cert_file_contents != '' { file { $ssl_cert_file: diff --git a/templates/gerrit.vhost.erb b/templates/gerrit.vhost.erb index dcd7fe8..ddfd8be 100644 --- a/templates/gerrit.vhost.erb +++ b/templates/gerrit.vhost.erb @@ -83,7 +83,10 @@ Order allow,deny Allow from all - + + Allow from all + Satisfy Any +