Puppet Class: profile::ping_offload
- Defined in:
- modules/profile/manifests/ping_offload.pp
Overview
SPDX-License-Identifier: Apache-2.0 sets up the ping offload servers - T190090
Parameters:
- target_ips
-
IPs or AnyIP subnets to configure on the host's loopback interface. In order to reply to ICMP requests messages. Default: None
8 9 10 11 12 13 14 15 16 17 18 |
# File 'modules/profile/manifests/ping_offload.pp', line 8
class profile::ping_offload(
Optional[Hash[String, Stdlib::Compat::Ip_address]] $target_ips = lookup('profile::ping_offload::target_ips', {default_value => undef}),
) {
$target_ips.each |$ip_descr, $iface_ip| {
interface::ip { $ip_descr:
address => $iface_ip,
interface => 'lo',
options => 'label lo:ping_offload'
}
}
}
|