[PUP-7424] Take in extra parameters for Solaris when using package resource type Created: 2017/04/04 Updated: 2018/05/21 |
|
Status: | Accepted |
Project: | Puppet |
Component/s: | Types and Providers |
Affects Version/s: | PUP 4.9.4 |
Fix Version/s: | None |
Type: | New Feature | Priority: | Normal |
Reporter: | Fred COSTANT | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | package, solaris, type_and_provider | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Using on a Solaris 11.3/X86 |
Template: | customfield_10700 183976 |
Team: | Platform OS |
QA Risk Assessment: | Needs Assessment |
Description |
On Solaris11, when a package is installed like this : package { 'zabbixclient' : ensure => 'latest', }Solaris11 pkg manager always create a be (*b*oot *e*nvironment) for safety, which can use huge space on disk (when you often upgrade packages and so you take a filesystem full). example (in this example, each time a package is updated, sol11 create a be name backup) To avoid this safety creation each time, an option is necessary, like --no-backup-be /puppet/lib/puppet/provider/package/pkg.rb, line 208 << The best way will be to add parameters to the resources type package, which could be interpretates in /puppet/lib/puppet/provider/package/pkg.rb, line 208 I add too a pkg refresh at the start, because Solaris11 needs a refresh catalogue more frequently.
Thanks |