add yumrepo
This commit is contained in:
@@ -1,20 +1,20 @@
|
|||||||
## cd_alloy::yumrepo.pp
|
## cd_alloy::yumrepo.pp
|
||||||
# Module name: cd_alloy
|
# Module name: cd_alloy
|
||||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
# 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 (
|
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',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user