add yum repo code

This commit is contained in:
Arne Teuke
2025-02-23 16:29:09 +01:00
parent e7b82c970b
commit 7b01e78951

View File

@@ -7,4 +7,14 @@ 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',
}
}