add yumrepo
This commit is contained in:
@@ -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',
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user