Puppet Class: prometheus::swagger_exporter

Defined in:
modules/prometheus/manifests/swagger_exporter.pp

Overview

Parameters:

  • ensure (Any) (defaults to: 'present')


1
2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/prometheus/manifests/swagger_exporter.pp', line 1

class prometheus::swagger_exporter(
  $ensure = 'present'
) {
  package { 'prometheus-swagger-exporter':
    ensure => $ensure
  }

  service { 'prometheus-swagger-exporter':
    ensure => ensure_service($ensure),
    enable => true,
  }

  base::service_auto_restart { 'prometheus-swagger-exporter': }
}