Puppet Class: profile::ping_offload

Defined in:
modules/profile/manifests/ping_offload.pp

Overview

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

Parameters:

  • target_ips (Optional[Hash[String, Stdlib::Compat::Ip_address]]) (defaults to: lookup('profile::ping_offload::target_ips', {default_value => undef}))


7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/profile/manifests/ping_offload.pp', line 7

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'
    }
  }
  profile::contact { $title:
      contacts => ['ayounsi']
  }
}