Puppet Class: randrust

Defined in:
manifests/init.pp

Overview

randrust

Main class, includes all other classes.

Parameters:

  • package_name (Array[String])

    Specifies the randrust package to manage. Default value: [‘randrust’].

  • package_manage (Boolean)

    Whether to manage the randrust package. Default value: true.

  • package_ensure (String)

    Whether to install the randrust package, and what version to install. Values: ‘present’, ‘latest’, or a specific version number. Default value: ‘present’.

  • config_epp (Optional[String])

    Specifies an absolute or relative file path to an EPP template for the config file. Example value: ‘randrust/randrust.epp’.

  • listen_port (Optional[Integer[0, 65535]])

    Specifies the listen port for randrust to serve traffic from

  • interface (Optional[String])

    Specifies the interface to listen on. Default: ‘0.0.0.0’.

  • package_ensure

    Whether to install the randrust package, and what version to install. Values: ‘present’, ‘latest’, or a specific version number. Default value: ‘present’.

  • service_manage (Boolean)

    Whether to manage the randrust service. Default value: true.

  • service_enable (Boolean)

    Whether to enable the randrust service at boot. Default value: true.

  • service_ensure (Enum['running', 'stopped'])

    Whether the randrust service should be running. Default value: ‘running’.

  • service_provider (Optional[String])

    Which service provider to use for randrust. Default value: ‘undef’.

  • service_name (String)

    The name of the randrust service to manage.



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'manifests/init.pp', line 43

class randrust (
  String $package_ensure,
  Boolean $package_manage,
  Array[String] $package_name,
  Optional[String] $config_epp,
  Optional[String] $interface,
  Optional[Integer[0, 65535]] $listen_port,
  Boolean $service_manage,
  Boolean $service_enable,
  Enum['running', 'stopped'] $service_ensure,
  Optional[String] $service_provider,
  String $service_name,
) {
  contain randrust::install
  contain randrust::config
  contain randrust::service


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