From f5e367496c37acd6b79bd2920100d79c896e336c Mon Sep 17 00:00:00 2001 From: Anita Kuno Date: Tue, 5 Jun 2018 19:50:42 -0400 Subject: [PATCH] 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 --- modules/openstack_project/manifests/survey.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/manifests/survey.pp b/modules/openstack_project/manifests/survey.pp index 83d0df22f4..e4ac0dc629 100644 --- a/modules/openstack_project/manifests/survey.pp +++ b/modules/openstack_project/manifests/survey.pp @@ -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,