add yum repo code

This commit is contained in:
Arne Teuke
2025-02-23 16:37:42 +01:00
parent 7b01e78951
commit 155901e4ec

View File

@@ -8,13 +8,13 @@ class cd_alloy::yumrepo (
) inherits cd_alloy::params { ) inherits cd_alloy::params {
yumrepo { 'grafana': yumrepo { 'grafana':
ensure => 'present', ensure => 'present',
name => 'grafana', name => 'grafana',
descr => 'grafana', descr => 'grafana',
baseurl => 'https://packages.grafana.com/oss/rpm', baseurl => 'https://packages.grafana.com/oss/rpm',
gpgkey => 'https://packages.grafana.com/gpg.key', gpgkey => 'https://packages.grafana.com/gpg.key',
enabled => '1', enabled => '1',
gpgcheck => '1', gpgcheck => '1',
target => '/etc/yum.repo.d/grafana.repo', target => '/etc/yum.repo.d/grafana.repo',
} }
} }