Puppet Function: role::translate_slash
- Defined in:
- functions/translate_slash.pp
- Function type:
- Puppet Language
Overview
Translates all (repeated) slashes in a role to ‘::’
5 6 7 |
# File 'functions/translate_slash.pp', line 5 function role::translate_slash(String $role) >> String { role::translate_with_map($role, {'[/]+' => '::'}) } |