From dfaa572525e69c4991867407c8c5a90b885f0b0d Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Mon, 13 Apr 2015 15:41:25 -0400 Subject: [PATCH] init: fix create_resources declarations for old puppet versions Fixes #550 --- manifests/init.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 3fca72a..311583a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -296,12 +296,12 @@ class nginx ( service_flags => $service_flags, } - create_resources('::nginx::resource::upstream', $nginx_upstreams) - create_resources('::nginx::resource::vhost', $nginx_vhosts, $nginx_vhosts_defaults) - create_resources('::nginx::resource::location', $nginx_locations) - create_resources('::nginx::resource::mailhost', $nginx_mailhosts) - create_resources('::nginx::resource::map', $string_mappings) - create_resources('::nginx::resource::geo', $geo_mappings) + create_resources('nginx::resource::upstream', $nginx_upstreams) + create_resources('nginx::resource::vhost', $nginx_vhosts, $nginx_vhosts_defaults) + create_resources('nginx::resource::location', $nginx_locations) + create_resources('nginx::resource::mailhost', $nginx_mailhosts) + create_resources('nginx::resource::map', $string_mappings) + create_resources('nginx::resource::geo', $geo_mappings) # Allow the end user to establish relationships to the "main" class # and preserve the relationship to the implementation classes through