Puppet Class: rngd

Inherits:
::rngd::params
Defined in:
manifests/init.pp

Overview

Installs rngd.

Examples:

Declaring the class

include ::rngd

Using a different hardware RNG

class { '::rngd':
  hwrng_device => '/dev/urandom',
}

Parameters:

  • hasstatus (Boolean) (defaults to: $::rngd::params::hasstatus)

    Whether the service has a working status command.

  • hwrng_device (Optional[Stdlib::Absolutepath]) (defaults to: undef)

    Path to a hardware RNG device.

  • package_name (String) (defaults to: $::rngd::params::package_name)

    The name of the package.

  • service_manage (Boolean) (defaults to: $::rngd::params::service_manage)

    Whether to manage the service.

  • service_name (String) (defaults to: $::rngd::params::service_name)

    Name of the service.



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/init.pp', line 16

class rngd (
  Boolean                        $hasstatus      = $::rngd::params::hasstatus,
  Optional[Stdlib::Absolutepath] $hwrng_device   = undef,
  String                         $package_name   = $::rngd::params::package_name,
  Boolean                        $service_manage = $::rngd::params::service_manage,
  String                         $service_name   = $::rngd::params::service_name
) inherits ::rngd::params {

  contain ::rngd::install
  contain ::rngd::config
  contain ::rngd::service

  Class['::rngd::install'] -> Class['::rngd::config']
    ~> Class['::rngd::service']
}