Puppet Function: bodgitlib::enclose_ipv6
- Defined in:
- functions/enclose_ipv6.pp
- Function type:
- Puppet Language
Overview
2 3 4 5 6 7 8 |
# File 'functions/enclose_ipv6.pp', line 2
function bodgitlib::enclose_ipv6(Bodgitlib::Host $host) {
type($host) ? {
Type[IP::Address::V6::NoSubnet] => "[${host}]",
default => $host,
}
}
|