2025-02-23 14:57:22 +01:00
|
|
|
## cd_alloy::yumrepo.pp
|
|
|
|
|
# Module name: cd_alloy
|
|
|
|
|
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
2025-02-23 16:45:08 +01:00
|
|
|
# @summary class install yum repos for the cd_alloy module
|
2025-02-23 14:57:22 +01:00
|
|
|
##############################################################################
|
2025-02-23 17:03:21 +01:00
|
|
|
class cd_alloy::main::yumrepo (
|
2025-02-23 14:57:22 +01:00
|
|
|
|
|
|
|
|
) inherits cd_alloy::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
|
|
|
}
|