summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-10 19:06:09 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-10-10 19:06:09 +0000
commitb4fd8d18ed58bbfb947d5f348f28141c92c22f3a (patch)
tree1b51dfd5d43ec48d28d0a45e7cce00a098f459ce /bin
parentb5344f2acbf447be853af78f34a4b1562ae060f2 (diff)
downloadpuppet-b4fd8d18ed58bbfb947d5f348f28141c92c22f3a.tar.gz
puppet-b4fd8d18ed58bbfb947d5f348f28141c92c22f3a.tar.xz
puppet-b4fd8d18ed58bbfb947d5f348f28141c92c22f3a.zip
Catching missing ldap correctly in puppetrun
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1759 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin')
-rwxr-xr-xbin/puppetrun2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/puppetrun b/bin/puppetrun
index 69448cbd7..d4af0abb6 100755
--- a/bin/puppetrun
+++ b/bin/puppetrun
@@ -121,7 +121,7 @@
end
begin
require 'ldap'
-rescue
+rescue LoadError
$stderr.puts "Failed to load ruby LDAP library. LDAP functionality will not be available"
end
require 'puppet'