Puppet Class: system::execs
- Defined in:
- manifests/execs.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'manifests/execs.pp', line 1
class system::execs (
$config = undef,
$schedule = $::system::schedule,
) {
$defaults = {
schedule => $schedule,
}
if $config {
create_resources(exec, $config, $defaults)
}
else {
$hiera_config = hiera_hash('system::execs', undef)
if $hiera_config {
create_resources(exec, $hiera_config, $defaults)
}
}
}
|