haveged
: Manage HAVEGEd == Sample Usage: class { 'haveged': write_wakeup_threshold => 1024, }haveged::config
: Manage the HAVEGEd configuration filehaveged::package
: Manage the haveged packagehaveged::service
: Manage the HAVEGEd service
Manage HAVEGEd
== Sample Usage:
class { 'haveged': write_wakeup_threshold => 1024, }
The following parameters are available in the haveged
class:
buffer_size
data_cache_size
instruction_cache_size
write_wakeup_threshold
service_name
service_ensure
service_enable
package_name
package_ensure
Data type: Optional[Variant[String,Integer]]
The size of the collection buffer in KB
Default value: undef
Data type: Optional[Variant[String,Integer]]
The data cache size in KB
Default value: undef
Data type: Optional[Variant[String,Integer]]
The instruction cache size in KB. Default is 16 or as determined by cpuid
Default value: undef
Data type: Variant[String,Integer]
The haveged daemon generates more data if the number of entropy bits falls below this value
Default value: 1024
Data type: String[1]
The name of the service to manage
Default value: 'haveged'
Data type: Variant[Boolean,String[1]]
Whether the service should be running
Default value: 'running'
Data type: Boolean
Whether the service should be enabled to start at boot time
Default value: true
Data type: String[1]
The name of the package to manage
Default value: 'haveged'
Data type: Variant[Boolean,Simplib::PackageEnsure]
Ensure parameter passed onto Package resources. Default: 'present'
Default value: simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })
Manage the HAVEGEd configuration file
The following parameters are available in the haveged::config
class:
Data type: Optional[Variant[Pattern['^[0-9]+$'],Integer]]
The size of the collection buffer in KB
Default value: defined('$haveged::buffer_size') ? { true => getvar('haveged::buffer_size'), default => undef
Data type: Optional[Variant[Pattern['^[0-9]+$'],Integer]]
The data cache size in KB
Default value: defined('$haveged::data_cache_size') ? { true => getvar('haveged::data_cache_size'), default => undef
Data type: Optional[Variant[Pattern['^[0-9]+$'],Integer]]
The instruction cache size in KB
Default value: defined('$haveged::instruction_cache_size') ? { true => getvar('haveged::instruction_cache_size'), default => undef
Data type: Optional[Variant[Pattern['^[0-9]+$'],Integer]]
The haveged daemon generates more data if the number of entropy bits falls below this value
Default value: defined('$haveged::write_wakeup_threshold') ? { true => getvar('haveged::write_wakeup_threshold'), default => undef
Manage the haveged package
The following parameters are available in the haveged::package
class:
Data type: String[1]
The name of the package to manage
Default value: defined('$haveged::package_name') ? { true => getvar('haveged::package_name'), default => 'haveged'
Data type: Simplib::PackageEnsure
Ensure parameter passed onto Package resources
Default value: defined('$haveged::_package_ensure') ? { true => getvar('haveged::_package_ensure'), default => 'present'
Manage the HAVEGEd service
The following parameters are available in the haveged::service
class:
Data type: String[1]
The name of the service to manage
Default value: defined('$haveged::service_name') ? { true => getvar('haveged::service_name'), default => 'haveged'
Data type: String[1]
Whether the service should be running
Default value: defined('$haveged::_service_ensure') ? { true => getvar('haveged::_service_ensure'), default => 'running'
Data type: Boolean
Whether the service should be enabled to start at boot time
Default value: defined('$haveged::_service_enable') ? { true => getvar('haveged::_service_enable'), default => true
Data type: Boolean
Will force haveged to start even though RNGD is already running
- While this should not harm your system in most cases, it is also adding an unnecessary process running on the system
Default value: false