Commit a23c7f8f authored by Emmanuel Medernach's avatar Emmanuel Medernach
Browse files

Duplication des paquets possibles

parent 5a028f46
......@@ -63,7 +63,8 @@ yum::distroversionpackage: centos-release
yum::profile: base
yum::group: development
yum::groups:
- development
yum::packages:
- centos-release
......@@ -71,3 +72,7 @@ yum::packages:
- boost-devel
```
TODO:
- Separer la definition des paquets a installer de la configuration de yum (pour reutiliser avec apt par exemple)
......@@ -16,9 +16,7 @@ class yum::config {
$yum::groups.each |$group| {
if (has_key($yum::grouplist, $group)) {
if ($yum::grouplist[$group] != undef) {
package { $yum::grouplist[$group]:
ensure => 'installed',
}
ensure_packages([$yum::grouplist[$group]])
}
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment