Puppet Class: confdroid_prometheus::main::yumrepo

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

Summary

Class manages yumrepo for the confdroid_prometheus module.

Overview

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



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

class confdroid_prometheus::main::yumrepo (
) inherits confdroid_prometheus::params {
  yumrepo { 'prometheus':
    ensure   => 'present',
    name     => 'prometheus',
    descr    => 'prometheus rpms',
    baseurl  => 'https://packagecloud.io/prometheus-rpm/release/el/9/$basearch',
    gpgkey   => 'https://packagecloud.io/prometheus-rpm/release/gpgkey',
    enabled  => '1',
    gpgcheck => '0',
    target   => '/etc/yum.repo.d/prometheus.repo',
  }
}