Forge Home

rngd

Puppet Module for managing rngd

51,358 downloads

2,994 latest version

4.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 3.0.1 (latest)
  • 3.0.0
  • 2.0.3
  • 2.0.2
  • 2.0.1
  • 2.0.0
  • 1.1.1
  • 1.1.0
  • 1.0.1
  • 1.0.0
released Sep 13th 2016
This version is compatible with:
  • Puppet Enterprise >=3.7.0 <2015.4.0
  • Puppet >=3.0.0 <5.0.0
  • , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'bodgit-rngd', '1.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add bodgit-rngd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install bodgit-rngd --version 1.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: rngd, entropy

Documentation

bodgit/rngd — version 1.1.1 Sep 13th 2016

rngd

Tested with Travis CI

Build Status Coverage Status Puppet Forge Dependency Status

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with rngd
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This module manages rngd.

Module Description

The module basically makes sure the rngd daemon is installed and started, that's pretty much it. The rngd daemon does a good job at working out where the source of hardware entropy is so there's no configuration required.

Setup

What rngd affects

  • The package containing the rngd daemon.
  • The service controlling the rngd daemon.

Beginning with rngd

include ::rngd

Usage

Classes and Defined Types

Class: rngd

Parameters within rngd:

hasstatus

Whether the rngd service supports the status command or not.

hwrng_device

Specify the kernel device for random number input.

package_ensure

Intended state of the package providing the rngd daemon.

package_name

The package name that provides the rngd daemon.

service_enable

Whether to enable the rngd service.

service_ensure

Intended state of the rngd service.

service_manage

Whether to manage the rngd service or not.

service_name

The name of the rngd service.

Examples

To configure rngd to use /dev/urandom for random number input:

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

If you want to use something else to manage the rngd daemon, you can do:

class { '::rngd':
  service_manage => false,
}

Reference

Classes

Public Classes

  • rngd: Main class for installing rngd daemon.

Private Classes

  • rngd::config: Handles rngd daemon configuration.
  • rngd::install: Handles rngd daemon installation.
  • rngd::params: Different configuration data for different systems.
  • rngd::service: Handles rngd daemon service.

Limitations

This module has been built on and tested against Puppet 3.0 and higher.

The module has been tested on:

  • RedHat Enterprise Linux 5/6/7
  • Ubuntu 12.04/14.04
  • Debian 6/7

Testing on other platforms has been light and cannot be guaranteed.

Authors

Please log issues or pull requests at github.