forked from Controls/gitea-pages
1.5 KiB
1.5 KiB
profile::repository_list
This module configures adds a list of package repositories from hiera and filters those according to OS version.
Parameters
| Name | Type | Default |
| accept_empty | bool | false |
title
Name of the list of software repositores to be installed. It will
lookup in Hiera for a list $title and look up the
repository definitons with
hiera_hash("rpm_repos::repo::${name}").
The repository definitions not suitable for this OS will be filtered
away, then with the rest a repository configuration is writen to the
node using profile::repository. The osversion
key in the repository definition signals the major RHEL version for
which this repository is for.
Example definition:
rpm_repos::repo::epel_rhel8:
name: 'epel'
descr: "Extra Packages for Enterprise Linux 8"
baseurl: 'https://repo01.psi.ch/el8/tags/$pli_repo_tag/epel/'
gpgkey: 'https://repo01.psi.ch/el8/keys/RPM-GPG-KEY-EPEL-8'
disable: false
gpgcheck: true
osversion: 8
exclude:
- "slurm*"
accept_empty
Do not fail when the repository list is empty after