Browse Source

Merge pull request #604 from 3flex/550-fix-create_resources-on-old-puppet

init: fix create_resources declarations for old puppet versions
Matthew Haughton 9 years ago
parent
commit
c54359f5fe
1 changed files with 6 additions and 6 deletions
  1. 6 6
      manifests/init.pp

+ 6 - 6
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