Puppet Class: confdroid_alloy::main::yumrepo

Inherits:
confdroid_alloy::params
Defined in:
manifests/main/yumrepo.pp

Summary

class install yum repos for the confdroid_alloy module

Overview

confdroid_alloy::main::yumrepo.pp Module name: confdroid_alloy Author: 12ww1160 (12ww1160@confdroid.com)



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/main/yumrepo.pp', line 6

class confdroid_alloy::main::yumrepo (

) inherits confdroid_alloy::params {
  # test
  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',
  }
}