Issue #6681 has been updated by James Turnbull. Category set to package Status changed from Unreviewed to Needs Decision Assignee set to Nigel Kersten Priority changed from Normal to High Target version set to 2.6.x
---------------------------------------- Bug #6681: aptitude provider broken as aptitute doesnt support --force-yes https://projects.puppetlabs.com/issues/6681 Author: R.I. Pienaar Status: Needs Decision Priority: High Assignee: Nigel Kersten Category: package Target version: 2.6.x Affected Puppet version: 2.6.0 Keywords: Branch: After upgrading from 0.24.8 to 2.6.4 on debian etch, lenny and lucid we have issues using the aptitude provider. The aptitude provider inherits from the apt provider, somewhere between 0.24.8 and 2.6.4 the apt provider started adding --force-yes and aptitude doesnt support this option: 0.24.8 to 0.25.5 apt.rb: <pre> str = @resource[:name] case should when true, false, Symbol # pass else # Add the package version str += "=%s" % should end </pre> And on 2.6.0 that is: <pre> str = @resource[:name] case should when true, false, Symbol # pass else # Add the package version and --force-yes option str += "=#{should}" cmd << "--force-yes" end </pre> aptitude inherits this and fails. I did some digging and this was introduced in #1999 commit 2fae0bded559a23dcab5338dd899e272e0d0678e -- 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.
