[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

Markus Roberts Markus at reality.com
Wed Jul 14 10:36:37 UTC 2010


The following commit has been merged in the upstream branch:
commit 45a9f371ac9ee2e5212e4d6fc4f1fb1b08640b32
Author: Nick Lewis <nick at puppetlabs.com>
Date:   Fri Jul 2 13:35:11 2010 -0700

    [#4108] Changed missing Application constant error
    
    Changed the error message when searching for an Application constant
    which is undefined.

diff --git a/lib/puppet/application.rb b/lib/puppet/application.rb
index 35d6024..df46f6e 100644
--- a/lib/puppet/application.rb
+++ b/lib/puppet/application.rb
@@ -217,7 +217,7 @@ class Application
             begin
                 self.const_get(name.to_s.capitalize)
             rescue
-                puts "Const '#{name.to_s.capitalize}' appears to be undefined. Unable to continue without it."
+                puts "Unable to find application '#{name.to_s}'."
                 Kernel::exit(1)
             end
         end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list