User story #3495
closedUser story #3494: (ex-PT/Technique) 'Package management for RHEL / CentOS / SuSE / RPM systems': Change behavior in order to reduce number of execution of rug, zypper or zmd
Add peristent classes when checking installation, update or remove of packages in order to reduce use of rug or zypper
Description
Instead of checking installation, update or removing of packages with rug or zypper, we should be able to define the interval of time between each check and add it in a persistent class.
Updated by Nicolas PERRON over 11 years ago
- Status changed from New to Discussion
- Assignee changed from Nicolas PERRON to Jonathan CLARKE
- Define 'Package management for RHEL / CentOS / SuSE / RPM systems' as an unique instance Technique. It seems to be the simpliest way but is a big change for the user.
- Define an interval of time between each check for each packages
- Use of another Technique for configuring this interval but I don't see which other Technique use for that.
What's your opinion, Jon ?
Updated by Nicolas PERRON over 11 years ago
- Status changed from Discussion to 10
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/97
Nicolas PERRON wrote:
Jon, when defining the interval of time between each check, it seems logic to define it in the Technique 'Package management for RHEL / CentOS / SuSE / RPM systems'. The problem is that this Technique is multiinstance which will oblige to define this interval several times. I see options:
- Define 'Package management for RHEL / CentOS / SuSE / RPM systems' as an unique instance Technique. It seems to be the simpliest way but is a big change for the user.
- Define an interval of time between each check for each packages
- Use of another Technique for configuring this interval but I don't see which other Technique use for that.
What's your opinion, Jon ?
In Nicolas opinion, the use of unique variable for the interval of time is acceptable, even if the user have to set it at each instance of the Technique. The value used will be get from the most prior Directive.
Pull Request URL added: https://github.com/Normation/rudder-techniques/pull/97
Jon, could you review it please ?
Updated by Nicolas PERRON over 11 years ago
- Status changed from 10 to Pending release
Applied in changeset commit:136dbbbcbc8d8e2adc010c70d0deb85dbfc725da.
Updated by Nicolas PERRON over 11 years ago
Applied in changeset commit:109cd027739296983a404ec15c8f87381f352842.
Updated by Nicolas PERRON over 11 years ago
- Status changed from Pending release to Released
Updated by Benoît PECCATTE over 9 years ago
- Tracker changed from Enhancement to User story