Fix httpd mod defined types for puppet 4

Fix the namespacing of the references to the Httpd::Mod defined resource
type so that it can be found in puppet 4.

Change-Id: I3746af60035899121a26928ae9574b3f6e3b3753
This commit is contained in:
Colleen Murphy 2018-08-08 22:15:23 +02:00
parent 3d01bab8bf
commit 6a1197f952
1 changed files with 4 additions and 4 deletions

View File

@ -40,17 +40,17 @@ class etherpad_lite::apache (
ssl => true,
}
if !defined(Mod['rewrite']) {
if !defined(Httpd::Mod['rewrite']) {
httpd::mod { 'rewrite':
ensure => present,
}
}
if !defined(Mod['proxy']) {
if !defined(Httpd::Mod['proxy']) {
httpd::mod { 'proxy':
ensure => present,
}
}
if !defined(Mod['proxy_http']) {
if !defined(Httpd::Mod['proxy_http']) {
httpd::mod { 'proxy_http':
ensure => present,
}
@ -61,7 +61,7 @@ class etherpad_lite::apache (
ensure => present,
}
}
if !defined(Mod['auth_openid']) {
if !defined(Httpd::Mod['auth_openid']) {
httpd::mod { 'auth_openid':
ensure => present,
require => Package['libapache2-mod-auth-openid'],