Feature #5951
Freebsd Package Manager rewrite (as fbsd)
| Status: | Needs Decision | Start date: | 01/20/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% | ||
| Category: | FreeBSD | |||
| Target version: | - | |||
| Affected Puppet version: | Branch: | http://github.com/westr/puppet/tree/feature/master/5951 | ||
| Keywords: | package provider, freebsd, ports | |||
Description
A re-write of the Freebsd package manager (freebsd.rb) to fix a couple of things (package file source selection, etc) and support upgrading of packages – all using only base OS tools. This manager does not compile ports, and only works on .tbz package files.
Features: installable, uninstallable, upgradeable.
Notes:
- :name – must be the “port origin”, not the package (short) name.
- :source – must be the specific local file or URL to path
Configuration example:
package { "shells/bash":
provider => fbsd,
alias => bash,
source => "/path/to/local/package.tbz"
ensure => latest,
}
Related issues
History
#1
Updated by Ross West over 2 years ago
Files/Changes pushed to: http://github.com/westr/puppet/tree/feature/master/5951
#2
Updated by Ross West over 2 years ago
Ugh totally missed ticket #4996 (FreeBSD package provider rewrite to use port origin when querying installed packages) which changed freebsd.rb to use the port origin like this feature request does.
This rewrite also includes a few new features (upgradablity/:latest support), and has the ability to add versioning with some minor coding.
#3
Updated by Ross West over 2 years ago
- Status changed from Unreviewed to In Topic Branch Pending Review
- Branch set to http://github.com/westr/puppet/tree/feature/master/5951
Done final push to git branch listed. If someone wants to do some testing/review, that would be good.
#4
Updated by Paul Berry over 2 years ago
- Target version changed from 2.6.5 to 2.7.x
This is a major rewrite, it’s based on master, and it doesn’t have tests yet. It seems like we should target it to 2.7.
#5
Updated by Matt Robinson about 2 years ago
I’m going through old email and saw that there was code for this that wasn’t sent out using rake mail_patches so it doesn’t show up in our list of patches to review (https://patchwork.puppetlabs.com/project/puppet/list/). I also saw there was some discussion about this vs #4996. What’s the status of this ticket? Is it necessary to do a rewrite if #4996 gets in? Are people using this in production? Do more tests need to be written?
#6
Updated by Russell Jackson about 2 years ago
Ticket #4996 has grown quite a bit since it was submitted. It now fetches and uses the package index to resolve port origin –> package name. The git branch from #4996 is also included by default in the FreeBSD puppet port.
I think what should happen is that “latest” ensure target feature from this patch should be added to #4996. But I’m not like biased or anything ;–).
#7
Updated by Matt Robinson about 2 years ago
Thanks for the update Russell. Ross, if you could comment on Russell’s proposal to merge the feature from this ticket and branch into the branch from #4996 that would be great.
#8
Updated by James Turnbull over 1 year ago
- Status changed from In Topic Branch Pending Review to Needs Decision
- Assignee set to Russell Jackson
#9
Updated by Andrew Parker 6 months ago
- Target version deleted (
2.7.x)
