+1 On Dec 21, 2009, at 11:55 PM, Markus Roberts wrote:
> > Signed-off-by: Markus Roberts <[email protected]> > --- > lib/puppet/provider/package/sun.rb | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/lib/puppet/provider/package/sun.rb b/lib/puppet/ > provider/package/sun.rb > index f72738e..5cdbe0d 100755 > --- a/lib/puppet/provider/package/sun.rb > +++ b/lib/puppet/provider/package/sun.rb > @@ -111,8 +111,9 @@ > Puppet::Type.type(:package).provide :sun, :parent => > Puppet::Provider::Package d > } > } > return hash > - rescue Puppet::ExecutionFailure > - return nil > + rescue Puppet::ExecutionFailure => detail > + puts detail.backtrace if Puppet[:trace] > + raise Puppet::Error, "Unable to get information about > installed version of package #...@resource[:name]}, if any because of: > #{detail}" > end > end > > -- > 1.6.4 > > -- > > 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 > . > > -- I never did give anybody hell. I just told the truth, and they thought it was hell. -- Harry S Truman --------------------------------------------------------------------- Luke Kanies -|- http://reductivelabs.com -|- +1(615)594-8199 -- 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.
