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:
parent
65721bfbc6
commit
f5e367496c
@ -112,7 +112,7 @@ class openstack_project::survey (
|
|||||||
ssl => true,
|
ssl => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
if !defined(Mod['rewrite']) {
|
if !defined(Httpd::Mod['rewrite']) {
|
||||||
httpd::mod { 'rewrite':
|
httpd::mod { 'rewrite':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
}
|
}
|
||||||
@ -123,7 +123,7 @@ class openstack_project::survey (
|
|||||||
ensure => present,
|
ensure => present,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !defined(Mod['auth_openid']) {
|
if !defined(Httpd::Mod['auth_openid']) {
|
||||||
# Workaround for https://bugs.debian.org/759209
|
# Workaround for https://bugs.debian.org/759209
|
||||||
file { '/etc/apache2/mods-available/auth_openid.load':
|
file { '/etc/apache2/mods-available/auth_openid.load':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
Loading…
Reference in New Issue
Block a user