Project

General

Profile

Actions

User story #3164

closed

Technique "Zypper package manager configuration": add an option to specify repos per OS

Added by Jonathan CLARKE over 11 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
2
Assignee:
-
Category:
Techniques
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Sometimes, we need to add different package repos according to the OS we're on. One way of doing this in Rudder is to use groups, but this is not always practical. Repos are the classic example of when you know what you need on each OS, but don't really need a gruop to separate that out...

In the Technique, there is a multi-valued section to add repositories:

      <SECTION name="Repository" multivalued="true" component="true" componentKey="ZYPPER_NAME">

I suggest adding in here a variable "Only add this repository to if the OS is: " with a list of options SLES / SLES 10 / SLES 10 SP1 / SLES 10 SP2 / SLES 10 SP3 / SLES 10 SP4 / SLES 11 / SLES 11 SP1 / SLES 11 SP2 / RHEL / RHEL 5 / RHEL 6. The value of each options would be the corresponding CFEngine class, and we'd add to the promises something like "ifvarclass => ${os_to_apply_to}".


Subtasks 1 (0 open1 closed)

User story #3165: Technique "Zypper package manager configuration": implement option to specify repos per OSRejectedActions

Related issues 4 (0 open4 closed)

Related to Rudder - User story #3172: Technique Rug / YaST Pakcage Manager Configuration (ZMD) can't register services with signed RPMRejectedActions
Related to Rudder - User story #3178: Technique Rug / YaST Pakcage Manager Configuration (ZMD) Add possibility to add GPG Key with rugRejectedActions
Related to Rudder - Architecture #3312: Rework indentations from Techniques 'RUG / YaST package manager configuration (ZMD)' and 'Zypper package manager configuration'RejectedNicolas PERRON2013-02-22Actions
Related to Rudder - Architecture #3313: Rework indentations from Techniques 'RUG / YaST package manager configuration (ZMD)' and 'Zypper package manager configuration'RejectedNicolas PERRON2013-02-22Actions
Actions

Also available in: Atom PDF