Defined Type: yum::group
- Defined in:
- manifests/group.pp
Overview
Manage version groups.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'manifests/group.pp', line 30
define yum::group (
Array[String, 1] $pkglist,
String $group = $title,
Optional[Boolean] $run_with_packages = undef,
) {
ensure_resource('concat', "${::yum::conf_dir}/version-groups.conf", {
owner => 0,
group => 0,
mode => '0644',
warn => "# !!! Managed by Puppet !!!\n",
})
::concat::fragment { "${::yum::conf_dir}/version-groups.conf ${group}":
content => template("${module_name}/version-groups.conf.erb"),
target => "${::yum::conf_dir}/version-groups.conf",
}
}
|