summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2010-07-02 13:35:11 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-06 23:57:59 -0700
commit45a9f371ac9ee2e5212e4d6fc4f1fb1b08640b32 (patch)
tree3c8ca69a42bbc2f3f00859f31a26622f17829ada /lib/puppet
parenta0ea74b5e8882e3f4e5cb1a1c396581e5484000e (diff)
downloadpuppet-45a9f371ac9ee2e5212e4d6fc4f1fb1b08640b32.tar.gz
puppet-45a9f371ac9ee2e5212e4d6fc4f1fb1b08640b32.tar.xz
puppet-45a9f371ac9ee2e5212e4d6fc4f1fb1b08640b32.zip
[#4108] Changed missing Application constant error
Changed the error message when searching for an Application constant which is undefined.
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/application.rb b/lib/puppet/application.rb
index 35d6024be..df46f6e8c 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