Issue #7986 has been updated by Stefan Schulte.
does it work if you revert the commit? It looks like this is not a "pkg provider does choke on publisher" issue anymore but a "pkg provider does choke on solaris 11" issue maybe? Because the new provider does expect a line like <pre> SUNPython 2.5.5-0.111 installed ---- SUNWpcre (solaris) 8.8-0.111 installed ---- </pre> while your line looks like <pre> compress/zip 3.0-0.175.0.0.0.2.537 i--" </pre> And searching for Solaris 11 sample outputs on google sent me straight back to puppet redmine ;-) Seems to be already reported: #11004 ---------------------------------------- Bug #7986: Solaris 11/OpenSolaris pkg provider needs to accept exit code 4 https://projects.puppetlabs.com/issues/7986#change-61448 Author: Paul Armstrong Status: Re-opened Priority: Normal Assignee: Category: package Target version: 2.7.14 Affected Puppet version: 2.6.8 Keywords: solaris opensolaris pkg Branch: https://github.com/stschulte/puppet/commits/ticket/2.7.x/7986 When a package doesn't require updates, pkg returns with an exit code of 4 instead of 0. <pre> $ pkg install bash No updates necessary for this image. $ echo $? 4 </pre> The pkg provider needs to check for exit code 4 and treat that as success for checks. -- 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.
