Issue #8314 has been updated by Patrick Carlisle.

Status changed from Tests Insufficient to Merged - Pending Release
Target version changed from 2.7.x to Telly
Keywords changed from pacports provider to macports provider

Merged in commit:40b4a41fe287334b0dad55a496a07c442d34b50b

    (#8314) Ignore variants in installed macports packages
    
    We don't support specifying variants through puppet, so we want to ignore 
them
    when listing local packages so that versions compare correctly.
----------------------------------------
Bug #8314: MacPorts package provider takes variant for revision
https://projects.puppetlabs.com/issues/8314

Author: Matthias Pigulla
Status: Merged - Pending Release
Priority: Normal
Assignee: Matthias Pigulla
Category: provider
Target version: Telly
Affected Puppet version: 
Keywords: macports 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