MacPorts package provider should ignore warnings from the "port" command
|Assignee:||Matthias Pigulla||% Done:|
|Affected Puppet version:||Branch:|
The “port” command may emit warnings, for example when a “portarchivepath” has been set that points to an unreachable network share.
The macports provider fails to recognize these warnings, mistaking them f.e. for the latest version number.
I have too little Ruby skills to get a redirection (stderr to /dev/null) working, so the attached patch simply filters out the warnings.
#2 Updated by James Turnbull almost 2 years ago
- Status changed from Unreviewed to Requires CLA to be signed
- Assignee set to Matthias Pigulla
Could you sign the CLA at https://projects.puppetlabs.com/contributor_licenses/sign please?
Also it’d be great if you could submit this as a Git branch or a GitHub pull request as explained at https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md – thanks again for your contribution!