[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Nick Lewis
nick at puppetlabs.com
Tue May 10 08:13:48 UTC 2011
The following commit has been merged in the experimental branch:
commit f78ab095a50dc1f0c49cc8a8067b8f43623695b6
Author: Nick Lewis <nick at puppetlabs.com>
Date: Wed Apr 13 12:32:51 2011 -0700
(#2150) Fix File const lookup when configuring routes
In some cases, this was incorrectly finding the new Puppet::Application::File
application rather than the top-level File class.
Reviewed-By: Jesse Wolfe
diff --git a/lib/puppet/application.rb b/lib/puppet/application.rb
index 4c5a5a9..e21fe63 100644
--- a/lib/puppet/application.rb
+++ b/lib/puppet/application.rb
@@ -331,7 +331,7 @@ class Application
def configure_indirector_routes
route_file = Puppet[:route_file]
- if File.exists?(route_file)
+ if ::File.exists?(route_file)
routes = YAML.load_file(route_file)
application_routes = routes[name.to_s]
Puppet::Indirector.configure_routes(application_routes) if application_routes
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list