Bug #4996
FreeBSD package provider rewrite to use port origin when querying installed packages
| Status: | Code Insufficient | Start date: | 10/14/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | FreeBSD | |||
| Target version: | - | |||
| Affected Puppet version: | Branch: | https://github.com/xraj/puppet/commits/freebsd%2Fpackage | ||
| Keywords: | ||||
| Votes: | 5 |
Description
This fixes the problem where the port name specified in the package resource name (used by pkg_add -r) doesn’t match what is recorded as the package name by pkg_info. Puppet therefore thinks the package isn’t installed and tries to install it on every run. By consistently using the port origin everywhere when querying for installed packages, we avoid this problem.
Related issues
History
Updated by Russell Jackson over 1 year ago
Should I attach a patch or is the git branch URL sufficient?
Updated by Markus Roberts over 1 year ago
- Status changed from Unreviewed to Investigating
I’ll post this to puppet-dev for comment…
Updated by Russell Jackson about 1 year ago
- Branch changed from http://github.com/pthreadunixman/puppet/commits/freebsd/2.6.x/package_origin to https://github.com/xraj/puppet/commits/freebsd%2Fpackage
Updated by Russell Jackson about 1 year ago
I’ve rake mail_patches the current feature branch for review.
Updated by Nigel Kersten about 1 year ago
Thanks Russell.
Updated by Nigel Kersten about 1 year ago
- Status changed from Investigating to Accepted
Updated by Jacob Helwig 12 months ago
I’ve left a couple of comments on the patch series on the mailing list.
Updated by Tim Bishop 6 months ago
- Category set to FreeBSD
Hi. Just wondering what the status is of this one? Would be nice to see it merged.
Updated by Nigel Kersten 6 months ago
- Assignee set to Jacob Helwig
Updated by James Turnbull 6 months ago
- Status changed from Accepted to In Topic Branch Pending Review
Updated by Jacob Helwig 6 months ago
- Status changed from In Topic Branch Pending Review to Code Insufficient
This was reviewed on the mailing list, and needs work before it can be merged.
Updated by Jacob Helwig 5 months ago
- Assignee deleted (
Jacob Helwig)