Fix defined type namespacing

Without this patch, puppet 4 apply tests can't find the mod defined type
and fail with:

  Evaluation Error: Resource type not found: Mod at /etc/puppetlabs/code/modules/zuul/manifests/web.pp:284:15

This patch ensures the resource reference is namespaced just like all
the other resource references in the manifest already are.

Change-Id: Iac45cd1fe28fa9cb42751d2d879224ddc7f255ce
This commit is contained in:
Colleen Murphy 2018-04-27 17:20:53 +02:00
parent 7e57e2e6eb
commit dabe03d77f
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ class zuul::web (
if ! defined(Httpd::Mod['cache']) {
httpd::mod { 'cache': ensure => present }
}
if !defined(Mod['proxy_wstunnel']) {
if !defined(Httpd::Mod['proxy_wstunnel']) {
httpd::mod { 'proxy_wstunnel': ensure => present }
}
if ! defined(Httpd::Mod['cache_disk']) {