1.7 KiB
profile::rpm_repos
This module configures dnf(8) and sets up the default package
repositores.
Parameters
| Name | Type | Default |
| repo_list | string | 'rpm_repos::default' |
| repo_tags | hash | hiera_hash('rpm_repos::tag') |
| exclude | list | hiera('base::package_exclude, []) |
| purge_repositories | bool | hiera('rpm_repos::purge_repositories') |
repo_list
Name of the list of default software repositores to be installed.
repo_tags
Hash containing the repository tag which should be used per OS. The
key for RHEL 7 is redhat7 and points by default to
prod, whereas for later versions is
rhel-$MAJOR_VERSION (eg. for redhat8 it is
rhel-8)
exclude
An array containing entries suitable for the exclude
option in dnf.conf(5).
purge_repositories
A boolean controlling whether files that were not created by Puppet
should be removed from /etc/yum.repos.d. This is useful to
prevent repositories to be configured through other means (e.g.
manually).
repos
A list of names designating the repositories that are to be
configured (not necessarily enabled) on the system. If
<name> is the name of the repository, then its
definition is determined by searching Hiera for the
yum_client::repo_<name> key.