From f07058a5fb74b3ba4ad968dd544facf14ec8dffe Mon Sep 17 00:00:00 2001 From: Matthew Haughton Date: Wed, 3 Dec 2014 23:41:53 -0500 Subject: [PATCH] fix a future parser failure introduced by #510 --- manifests/resource/vhost.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/resource/vhost.pp b/manifests/resource/vhost.pp index bf7713d..48b9f54 100644 --- a/manifests/resource/vhost.pp +++ b/manifests/resource/vhost.pp @@ -514,22 +514,22 @@ define nginx::resource::vhost ( # Support location_cfg_prepend and location_cfg_append on default location created by vhost if $location_cfg_prepend { - ::Nginx::Resource::Location["${name_sanitized}-default"] { + Nginx::Resource::Location["${name_sanitized}-default"] { location_cfg_prepend => $location_cfg_prepend } } if $location_cfg_append { - ::Nginx::Resource::Location["${name_sanitized}-default"] { + Nginx::Resource::Location["${name_sanitized}-default"] { location_cfg_append => $location_cfg_append } } if $location_custom_cfg_prepend { - ::Nginx::Resource::Location["${name_sanitized}-default"] { + Nginx::Resource::Location["${name_sanitized}-default"] { location_custom_cfg_prepend => $location_custom_cfg_prepend } } if $location_custom_cfg_append { - ::Nginx::Resource::Location["${name_sanitized}-default"] { + Nginx::Resource::Location["${name_sanitized}-default"] { location_custom_cfg_append => $location_custom_cfg_append } }