add yumrepo

This commit is contained in:
Arne Teuke
2025-02-23 16:45:08 +01:00
parent 4d760910b5
commit 588eaf6c93

View File

@@ -1,20 +1,20 @@
## cd_alloy::yumrepo.pp
# Module name: cd_alloy
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @summary class install yum repos for the cd_alloy module.
# @summary class install yum repos for the cd_alloy module
##############################################################################
class cd_alloy::yumrepo (
) inherits cd_alloy::params {
yumrepo { 'grafana':
ensure => 'present',
name => 'grafana',
descr => 'grafana',
baseurl => 'https://packages.grafana.com/oss/rpm',
gpgkey => 'https://packages.grafana.com/gpg.key',
enabled => '1',
gpgcheck => '1',
target => '/etc/yum.repo.d/grafana.repo',
}
yumrepo { 'grafana':
ensure => 'present',
name => 'grafana',
descr => 'grafana',
baseurl => 'https://packages.grafana.com/oss/rpm',
gpgkey => 'https://packages.grafana.com/gpg.key',
enabled => '1',
gpgcheck => '1',
target => '/etc/yum.repo.d/grafana.repo',
}
}