Puppet Class: r10k::prerun_command
- Inherits:
- r10k::params
- Defined in:
- manifests/prerun_command.pp
Overview
This class will configure r10k to run as part of the masters agent run
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'manifests/prerun_command.pp', line 2
class r10k::prerun_command (
$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,
}
}
|