From 588eaf6c93cd6b9a303d42bd1cf333161967d58c Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Sun, 23 Feb 2025 16:45:08 +0100 Subject: [PATCH] add yumrepo --- manifests/main/yumrepo.pp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/manifests/main/yumrepo.pp b/manifests/main/yumrepo.pp index f35b2d2..a0635c2 100644 --- a/manifests/main/yumrepo.pp +++ b/manifests/main/yumrepo.pp @@ -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', + } }