Puppet Class: sysctl::params

Inherited by:
sysctl::base
Defined in:
manifests/params.pp

Overview



2
3
4
5
6
# File 'manifests/params.pp', line 2

class sysctl::params {
  # Keep the original symlink if we purge, to avoid ping-pong with initscripts
  $symlink99 = ($facts['os']['family'] == 'RedHat' and versioncmp($facts['os']['release']['major'], '7') >= 0) or
  ($facts['os']['family'] == 'Debian' and versioncmp($facts['os']['release']['major'], '8') >= 0)
}