Classes
Public Classes
randrust
: Installs, configures and run's randrust.
Private Classes
randrust::config
: This class handles the configuration file.randrust::install
: This class handles the randrust package.randrust::service
: This class handles the randrust service.
Installs, configures and run's randrust.
include randrust
$randrust::listen_port = 8080
$randrust::package_manage = false
include randrust
The following parameters are available in the randrust
class.
Data type: Array[String]
Specifies the randrust package to manage. Default value: ['randrust'].
Data type: Boolean
Whether to manage the randrust package. Default value: true.
Data type: String
Whether to install the randrust package, and what version to install. Values: 'present', 'latest', or a specific version number. Default value: 'present'.
Data type: Optional[String]
Specifies an absolute or relative file path to an EPP template for the config file. Example value: 'randrust/randrust.epp'.
Data type: Optional[Integer[0, 65535]]
Specifies the listen port for randrust to serve traffic from.
Data type: Optional[String]
Specifies the interface to listen on. Default: '0.0.0.0'.
Whether to install the randrust package, and what version to install. Values: 'present', 'latest', or a specific version number. Default value: 'present'.
Data type: Boolean
Whether to manage the randrust service. Default value: true.
Data type: Boolean
Whether to enable the randrust service at boot. Default value: true.
Data type: Enum['running', 'stopped']
Whether the randrust service should be running. Default value: 'running'.
Data type: Optional[String]
NOTE: Only the default is supported currently.
Which service provider to use for randrust. Default value: 'undef'.
Data type: String
NOTE: Only the default is suppored currently.
The name of the randrust service to manage.