Update survey.pp for Puppet 4

Currently survey.pp only works with Puppet 3. It needs to be able
to work with Puppet 4. This patch modifies the file to work with
Puppet 4.

Change-Id: Idfe26bf19a4e2c77671bf265a11d063acb3f00e6
This commit is contained in:
Anita Kuno 2018-06-05 19:50:42 -04:00
parent 65721bfbc6
commit f5e367496c

View File

@ -112,7 +112,7 @@ class openstack_project::survey (
ssl => true,
}
if !defined(Mod['rewrite']) {
if !defined(Httpd::Mod['rewrite']) {
httpd::mod { 'rewrite':
ensure => present,
}
@ -123,7 +123,7 @@ class openstack_project::survey (
ensure => present,
}
}
if !defined(Mod['auth_openid']) {
if !defined(Httpd::Mod['auth_openid']) {
# Workaround for https://bugs.debian.org/759209
file { '/etc/apache2/mods-available/auth_openid.load':
ensure => present,