Puppet Function: openldap::flatten_size_limit
- Defined in:
- functions/flatten_size_limit.pp
- Function type:
- Puppet Language
Overview
Flatten size limits to string form.
12 13 14 15 16 17 18 19 |
# File 'functions/flatten_size_limit.pp', line 12
function openldap::flatten_size_limit(Optional[OpenLDAP::Limit::Size] $value) {
type($value) ? {
Type[Hash] => join(join_keys_to_values(prefix($value, 'size.'), '='), ' '),
Type[Scalar] => String($value),
default => undef,
}
}
|