Puppet Class: profile::conftool::requestctl_client
- Defined in:
- modules/profile/manifests/conftool/requestctl_client.pp
Summary
profile to install conftool requestctl pluginOverview
SPDX-License-Identifier: Apache-2.0
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'modules/profile/manifests/conftool/requestctl_client.pp', line 4
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
}
|