diff --git a/manifests/resource/vhost.pp b/manifests/resource/vhost.pp index bf7713d7b..48b9f5426 100644 --- a/manifests/resource/vhost.pp +++ b/manifests/resource/vhost.pp @@ -514,22 +514,22 @@ # 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 } }