Puppet Class: r10k::prerun_command
- Inherits:
- r10k::params
- Defined in:
-
manifests/prerun_command.pp
Summary
This class will configure r10k to run as part of the masters agent run
Overview
6
7
8
9
10
11
12
13
14
15
16
17
|
# File 'manifests/prerun_command.pp', line 6
class r10k::prerun_command (
String[1] $command = $r10k::params::pre_postrun_command,
Enum['present', 'absent'] $ensure = 'present',
) inherits r10k::params {
ini_setting { 'r10k_prerun_command':
ensure => $ensure,
path => "${r10k::params::puppetconf_path}/puppet.conf",
section => 'agent',
setting => 'prerun_command',
value => $command,
}
}
|