Puppet Class: rpkicounter

Defined in:
modules/rpkicounter/manifests/init.pp

Overview

Class: rpkicounter

Install rpkicounter and its required packages



5
6
7
8
9
10
11
12
13
14
15
# File 'modules/rpkicounter/manifests/init.pp', line 5

class rpkicounter {
  require_package('python3-ujson', 'python3-radix', 'python3-prometheus-client')

  file { '/usr/local/bin/rpkicounter.py':
      ensure => present,
      owner  => 'nobody',
      group  => 'nogroup',
      mode   => '0555',
      source => 'puppet:///modules/rpkicounter/rpkicounter.py',
  }
}