User story #3164
closedTechnique "Zypper package manager configuration": add an option to specify repos per OS
Added by Jonathan CLARKE almost 12 years ago. Updated almost 3 years ago.
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}".
Updated by Jonathan CLARKE almost 12 years ago
Jonathan CLARKE wrote:
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}".
Duh, this obvioulsy doesn't apply to RHEL/CentOS, since Zypper is SuSE-specific...
Updated by Matthieu CERDA almost 12 years ago
- Target version changed from 2.3.10 to 2.3.11
Updated by Matthieu CERDA over 11 years ago
- Target version changed from 2.3.11 to 2.3.12
Updated by Matthieu CERDA over 11 years ago
- Target version changed from 2.3.12 to 2.3.13
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.3.13 to 84
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 84 to 2.4.7
Updated by Nicolas PERRON over 11 years ago
- Target version changed from 2.4.7 to 2.4.8
Updated by Jonathan CLARKE about 11 years ago
- Assignee changed from Jonathan CLARKE to Nicolas PERRON
Assigning to you, Nicolas, because the implementation ticket depends on another ticket you're working on.
Updated by Nicolas PERRON about 11 years ago
- Target version changed from 2.4.8 to 2.4.9
Updated by Nicolas PERRON about 11 years ago
- Target version changed from 2.4.9 to 2.4.10
Updated by Nicolas PERRON about 11 years ago
- Target version changed from 2.4.10 to 2.4.11
Updated by Nicolas PERRON about 11 years ago
- Target version changed from 2.4.11 to 2.4.12
Updated by Nicolas PERRON about 11 years ago
- Target version changed from 2.4.12 to 2.4.13
Updated by Vincent MEMBRÉ almost 11 years ago
- Target version changed from 2.4.13 to 2.6.11
Retargeting to 2.6 since 2.4 is not maintained anymore
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.6.11 to 2.6.12
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.6.12 to 2.6.13
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.6.13 to 2.6.14
Updated by Jonathan CLARKE over 10 years ago
- Target version changed from 2.6.14 to 2.6.16
Updated by Jonathan CLARKE over 10 years ago
- Target version changed from 2.6.16 to 2.6.17
Updated by Nicolas PERRON over 10 years ago
- Target version changed from 2.6.17 to 2.6.18
Updated by Matthieu CERDA about 10 years ago
- Target version changed from 2.6.18 to 2.6.19
Updated by Vincent MEMBRÉ about 10 years ago
- Target version changed from 2.6.19 to 2.6.20
Updated by François ARMAND almost 10 years ago
- Status changed from 13 to Discussion
- Assignee changed from Nicolas PERRON to Jonathan CLARKE
- Target version changed from 2.6.20 to 3.1.0~beta1
I wonder if we still need that, given the possibility to do so with ncf builder on one hand, and generallity of the need on the other hand (i.e: what we really want is to be able to restrict some directive application to some condition (like the node OS) for a given rule, isn't it ?).
Jon, what do you thing of that ?
So, I would at least change the priority to much higher. It is certainly not 2 (and certainly not in progress, either).
Retargetting in 3.1 for the technique cleaning.
Updated by François ARMAND almost 10 years ago
Well, more generally, I think we have some architecture decesion to take regarding rug/yast/etc.
I added the relevant tickets as dependencies, as I thing they have to be taken as a whole.
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 24 to Rudder
- Category changed from Techniques to Techniques
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 3.1.0~beta1 to 3.1.0~rc1
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 3.1.0~rc1 to 3.1.0
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 3.1.0 to 3.1.1
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 3.1.1 to 3.1.2
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 3.1.2 to 3.1.3
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 3.1.3 to 3.1.4
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 3.1.4 to 3.1.5
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 3.1.5 to 3.1.6
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 3.1.6 to 3.1.7
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.7 to 3.1.8
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.8 to 3.1.9
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.9 to 3.1.10
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.10 to 3.1.11
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.11 to 3.1.12
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.1.12 to 3.1.13
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.13 to 3.1.14
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.14 to 3.1.15
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.15 to 3.1.16
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.16 to 3.1.17
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.17 to 3.1.18
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.18 to 3.1.19
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.19 to 3.1.20
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.20 to 3.1.21
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.21 to 3.1.22
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.22 to 3.1.23
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.23 to 3.1.24
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 3.1.24 to 3.1.25
Updated by Benoît PECCATTE about 7 years ago
- Target version changed from 3.1.25 to 4.1.9
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.1.9 to 4.1.10
Updated by Benoît PECCATTE almost 7 years ago
- Status changed from Discussion to New
- Assignee deleted (
Jonathan CLARKE)
Updated by Benoît PECCATTE almost 7 years ago
- Target version changed from 4.1.10 to Ideas (not version specific)
Updated by Alexis Mousset almost 3 years ago
This won’t be added to that technique, please use the technique editor for that. If you are missing some capabilities in it, please open a ticket for that need.
Updated by Alexis Mousset almost 3 years ago
- Status changed from New to Rejected