From cac1587aaa05a921f8df0b67827ed321e8518e9c 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 3fca72af5..311583ab8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -296,12 +296,12 @@ 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