Puppet Function: stdlib::has_ip_address
- Defined in:
- functions/has_ip_address.pp
- Function type:
- Puppet Language
Summary
Returns true if the client has the requested IPv4 address on some interface.Overview
6 7 8 9 10 |
# File 'functions/has_ip_address.pp', line 6
function stdlib::has_ip_address(
Stdlib::IP::Address::V4::Nosubnet $ip_address,
) >> Boolean {
stdlib::has_interface_with('ipaddress', $ip_address)
}
|