Puppet Class: sys::stat

Inherits:
sys::stat::params
Defined in:
manifests/stat.pp

Overview

Class: sys::stat

Installs sysstat, which contains various system performance monitoring tools like ‘iostat`.

Parameters

ensure

The ensure value to use for the sysstat package. Defaults to ‘installed’.

package

The name of the package to install; the default depends on the OS, most likely it is ‘sysstat’ or false if it’s built-in to the OS.

Parameters:

  • ensure (Any) (defaults to: 'installed')
  • package (Any) (defaults to: $sys::stat::params::package)


15
16
17
18
19
20
21
22
23
24
# File 'manifests/stat.pp', line 15

class sys::stat(
  $ensure  = 'installed',
  $package = $sys::stat::params::package,
) inherits sys::stat::params {
  if $package {
    package { $package:
      ensure => $ensure,
    }
  }
}