Puppet Class: psick::windows::envs
- Defined in:
- manifests/windows/envs.pp
Overview
Manages Windows users using VoxPupili windows_env module Prerequisite: mod: ‘puppet-windows_env’
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/windows/envs.pp', line 4
class psick::windows::envs (
Hash $envs_hash = {},
Hash $resource_default_arguments = {},
Boolean $manage = $psick::manage,
Boolean $noop_manage = $psick::noop_manage,
Boolean $noop_value = $psick::noop_value,
) {
if $manage {
if $noop_manage {
noop($noop_value)
}
Windows_env {
* => $resource_default_arguments,
}
$envs_hash.each |$k,$v| {
windows_env { $k:
* => $v,
}
}
}
}
|