Project

General

Profile

Actions

Question #7932

closed

Multiple Package Install

Added by remus dragomir over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
-
Regression:

Description

Hi all,

Is there any better method of installing multiple packages than just using a list of yum commands in a post-modification hook section?
The directive for installing a package is, apparently, installing one package at a time. And if I use "add another" package to the same directive, it creates a whole new section, thus making it very difficult to maintain, in my case, custom OS-based lists of packages to be installed.
Another way I've tried was having a parameter keep the list of packages to be installed, but because of the yum install technique, I had to separate the packages in the list as follows;
"meld \
talk"
And so it always reports

RPM package meld \ talk; with policy: add could not be repaired
RPM package meld \ talk; with policy: add could not be repaired,

even when it installs both packages in the list. It reports no error if I use them as a <space> separated list: "meld talk". but the lists are often quite extensive.
Please advise.

Thanks.
Remus

Actions

Also available in: Atom PDF