Issue #15686 has been updated by Josh Cooper.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Affected Puppet version set to 0.22.1

Merged into 3.x in 
<https://github.com/puppetlabs/puppet/commit/2df01b0d23b5f992eef214cb67bf5f70cd58a8df>.
 This has been broken since 0.19.0

<pre>
    Previously the execpipe method used to return an array as output, which
    if the child exit status was non-zero, caused an exception to be raised
    with the array as the error message, instead of a string.
    
    Also, previously, we relied on exception handling to know when a package
    is not present. But there are cases where no exception is raised, but
    the package output has an 'ERROR' string.
    
    This commit changes from `execpipe` to `execute`, which will raise an
    exception with the output of the `pkginfo` command.  It also explicitly
    looks for an 'ERROR' string in the package output.
    
    This commit also refactors the duplicate namemap so that it is defined
    only once, and removes the nil entries so that only keys of interest are
    retained.
    
    It also adds fixtures and spec tests for the provider.
</pre>
----------------------------------------
Bug #15686: solaris 10 package provider fails on 3.x (ExecutionFailure)
https://projects.puppetlabs.com/issues/15686#change-68762

Author: Rahul Gopinath
Status: Merged - Pending Release
Priority: Normal
Assignee: Rahul Gopinath
Category: package
Target version: 3.0.0
Affected Puppet version: 0.22.1
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/985


<pre>
# puppet resource package SUNWffdl
Error: Unable to get information about package SUNWffdl because of: 
#&lt;Puppet::ExecutionFailure:0xa214abc>
Error: Could not run: Unable to get information about package SUNWffdl because 
of: #&lt;Puppet::ExecutionFailure:0xa214abc>
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to