2009/12/11 Jesse A Wolfe <[email protected]>:
> Ah, yes - that would be nicer. I was cribbing from the code that was
> inducing this error, in lib/puppet/application/puppetrun.rb , which looks
> like:
>
> begin
>     require 'ldap'
> rescue LoadError
>     $stderr.puts "Failed to load ruby LDAP library. LDAP functionality will
> not be available"
> end
>

That should be migrated to use the feature too. I wonder if that
construct exists elsewhere - probably does - there may also be other
requirements we should migrate to features also.

Regards

James Turnbull

-- 
Author of:
* Pro Linux System Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)

--

You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.


Reply via email to