Puppet Function: openldap::boolean
- Defined in:
- functions/boolean.pp
- Function type:
- Puppet Language
Overview
Convert boolean values to their OpenLDAP form.
14 15 16 17 18 19 20 |
# File 'functions/boolean.pp', line 14
function openldap::boolean(Optional[Boolean] $value) {
$value ? {
undef => undef,
default => bool2str($value, 'TRUE', 'FALSE'),
}
}
|