Skip to content

Latest commit

 

History

History
111 lines (66 loc) · 2.82 KB

REFERENCE.md

File metadata and controls

111 lines (66 loc) · 2.82 KB

Reference

Table of Contents

Classes

  • haveged: Manage the haveged daemon

Classes

haveged

Manage the haveged daemon

Examples

Declaring the class
class { 'haveged':
  write_wakeup_threshold => 2048,
}

Parameters

The following parameters are available in the haveged class:

package_name

Data type: String

The name of the package to manage. Normally provided by the module's hiera configuration. Default: haveged

package_ensure

Data type: String

The state of the haveged package. Valid options: present, installed, absent, purged, held, latest or a specific package version number. Default: present

service_name

Data type: String

The name of the service to manage. Normally provided by the module's hiera configuration. Default: haveged

service_ensure

Data type: Stdlib::Ensure::Service

Whether the service should be running. Normally provided by the module's hiera configuration. Default: running

service_enable

Data type: Boolean

Whether the service should be enabled to start at boot time. This must be an boolean value. Default: true

write_wakeup_threshold

Data type: Integer

The haveged daemon generates more data if the number of entropy bits falls below this value. The value must be a an integer. Default: 1024

buffer_size

Data type: Optional[Integer]

The size of the collection buffer. The value must be a an integer. It is interpreted as size in KB. Default: 128

Default value: undef

data_cache_size

Data type: Optional[Integer]

The data cache size in KB. The value must be a an integer. Default is 16 or as determined by cpuid.

Default value: undef

instruction_cache_size

Data type: Optional[Integer]

The instruction cache size in KB. The value must be a an integer. Default is 16 or as determined by cpuid.

Default value: undef