Puppet Class: system::limits

Defined in:
manifests/limits.pp

Overview

Parameters:

  • config (Any) (defaults to: undef)
  • schedule (Any) (defaults to: $::system::schedule)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'manifests/limits.pp', line 1

class system::limits (
  $config   = undef,
  $schedule = $::system::schedule,
) {
  if $config {
    include limits
    class { '::limits':
      config    => $config,
      use_hiera => false,
      #schedule => $schedule,
    }
  }
  else {
    $hiera_config = hiera_hash('system::limits', undef)
    if $hiera_config {
      include limits
      class { '::limits':
        config    => $hiera_config,
        use_hiera => false,
        #schedule => $schedule,
      }
    }
  }
}