2025-03-02 13:49:35 +01:00
|
|
|
## alloy_cd::main::yumrepo.pp
|
|
|
|
|
# Module name: alloy_cd
|
2025-02-23 14:57:22 +01:00
|
|
|
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
2025-03-02 13:49:35 +01:00
|
|
|
# @summary class install yum repos for the alloy_cd module
|
2025-02-23 14:57:22 +01:00
|
|
|
##############################################################################
|
2025-03-02 13:49:35 +01:00
|
|
|
class alloy_cd::main::yumrepo (
|
2025-02-23 14:57:22 +01:00
|
|
|
|
2025-03-02 13:49:35 +01:00
|
|
|
) inherits alloy_cd::params {
|
2025-02-23 16:50:15 +01:00
|
|
|
# test
|
2025-02-23 16:53:37 +01:00
|
|
|
yumrepo { 'grafana':
|
2025-02-23 16:57:58 +01:00
|
|
|
ensure => 'present',
|
2025-02-23 16:56:32 +01:00
|
|
|
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',
|
2025-02-23 16:53:37 +01:00
|
|
|
}
|
2025-02-23 14:57:22 +01:00
|
|
|
}
|