Issue #8314 has been updated by Jacob Helwig.

Status changed from In Topic Branch Pending Merge to Tests Insufficient

Left a few comments on the pull request about splitting the commits based on 
the ticket numbers, and adding some testing.
----------------------------------------
Bug #8314: MacPorts package provider takes variant for revision
https://projects.puppetlabs.com/issues/8314

Author: Matthias Pigulla
Status: Tests Insufficient
Priority: Normal
Assignee: Matthias Pigulla
Category: provider
Target version: 2.7.x
Affected Puppet version: 
Keywords: pacports provider
Branch: 


The macports package provider incorrectly parses `port -q installed` output, 
interpreting a possibly installed variant as part of the revision.

Subsequently, when ensuring latest it will try to upgrade the package every 
time because the assumed revision does not match the latest one.

Example: On every run, it says <pre>
...
notice: /Stage[main]//Macports::Package[apache2]/Package[apache2]/ensure: 
ensure changed '2.2.19' to '2.2.19_0'
... </pre>
but:<pre>
prompt> port -q installed apache2
  ...
  apache2 @2.2.19_0+preforkmpm+universal (active)
</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