Project

General

Profile

Actions

User story #3495

closed

User 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

Added by Nicolas PERRON about 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Category:
Techniques
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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.

Actions #1

Updated by Nicolas PERRON about 11 years ago

  • Status changed from New to Discussion
  • Assignee changed from Nicolas PERRON to Jonathan CLARKE
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 ?

Actions #2

Updated by Nicolas PERRON about 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 ?

Actions #3

Updated by Nicolas PERRON about 11 years ago

  • Status changed from 10 to Pending release

Applied in changeset commit:136dbbbcbc8d8e2adc010c70d0deb85dbfc725da.

Actions #4

Updated by Nicolas PERRON about 11 years ago

Applied in changeset commit:109cd027739296983a404ec15c8f87381f352842.

Actions #5

Updated by Nicolas PERRON almost 11 years ago

  • Status changed from Pending release to Released
Actions #6

Updated by Benoît PECCATTE about 9 years ago

  • Category set to Techniques
Actions #7

Updated by Benoît PECCATTE about 9 years ago

  • Tracker changed from Enhancement to User story
Actions

Also available in: Atom PDF