Puppet Class: puppetmaster::generators

Defined in:
modules/puppetmaster/manifests/generators.pp

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: 'present')


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

class puppetmaster::generators(
    Wmflib::Ensure $ensure = 'present'
){

    # python-mysqldb is used as one of python-sqlalchemy backends
    ensure_packages(['python3-requests'])

    file {'/usr/local/bin/naggen2':
        ensure  => $ensure,
        owner   => 'root',
        group   => 'root',
        mode    => '0555',
        source  => 'puppet:///modules/puppetmaster/naggen2.py',
        require => Package['python3-requests'],
    }
}