Puppet Class: profile::conftool::requestctl_client

Defined in:
modules/profile/manifests/conftool/requestctl_client.pp

Overview

Parameters:

  • conftool_prefix (String) (defaults to: lookup('conftool_prefix'))

    the conftool prefix



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'modules/profile/manifests/conftool/requestctl_client.pp', line 3

class profile::conftool::requestctl_client(
        String $conftool_prefix = lookup('conftool_prefix'),
) {
    require profile::conftool::client
    ensure_packages(['python3-conftool-requestctl'])
    # Create the test directory
    file { ['/var/lib/requestctl', '/var/lib/requestctl/tests']:
        ensure => directory,
    }
    file { '/usr/local/bin/requestctl-checkip':
        ensure => file,
        owner  => 'root',
        mode   => '0555',
        source => 'puppet:///modules/profile/conftool/requestctl_checkip.py',
    }
    # TODO: add an alert if there are uncommitted changes
}