Puppet Function: tp::ensure2dir
- Defined in:
- functions/ensure2dir.pp
- Function type:
- Puppet Language
Overview
1 2 3 4 5 6 7 8 9 |
# File 'functions/ensure2dir.pp', line 1
function tp::ensure2dir (
Variant[Boolean,String] $input = present,
) {
$output = $input ? {
'absent' => absent,
false => absent,
default => 'directory',
}
}
|