Puppet Class: ibm_profile::iib_machine::sysctl

Inherits:
ibm_profile
Defined in:
manifests/iib_machine/sysctl.pp

Summary

This class is the default implementation for making sure the OS sysctl settings on your system are set correctly for IIB.

Overview

--

ibm_profile::iib_machine::sysctl

Using hiera, you can customize some of the aspects of this process.

When these customizations aren’t enough, you can replace the class with your own class. See [ibm_profile::iib_machine](./iib_machine.html) for an explanation on how to do this.

–++–

Parameters:

  • list (Hash)

    The list of sysctl parameters to ensure for IIB. The default is: ‘{}`



15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'manifests/iib_machine/sysctl.pp', line 15

class ibm_profile::iib_machine::sysctl(
  Hash $list
) inherits ibm_profile {
  echo {'IIB Sysctl':
    withpath => false,
  }

  $defaults = {
    ensure  => 'present',
    persist => true,
  }
  ensure_resources(sysctl, $list, $defaults)
}