Classes
Public Classes
cerebro
: Installs and configures Cerebro
Private Classes
cerebro::config
: Configures Cerebrocerebro::install
: Installs Cerebrocerebro::params
:cerebro::service
: Manages Cerebro servicecerebro::user
: Creates the cerebro user
Installs and configures Cerebro
- See also https://github.com/lmenezes/cerebro
include cerebro
class { 'cerebro':
version => '0.8.1',
}
The following parameters are available in the cerebro
class.
Data type: String[1]
Defines the Cerebro version.
Default value: $cerebro::params::version
Data type: Stdlib::Ensure::Service
Determines whether the cerebro service should be running.
Default value: $cerebro::params::service_ensure
Data type: Boolean
Determines whether the cerebro service should be enabled when the system is booted.
Default value: $cerebro::params::service_enable
Data type: String
Specifies the secret string used to sign session cookies etc.
Default value: $cerebro::params::secret
Data type: Array[Struct[{ host => Stdlib::HTTPUrl, name => String[1] }]]
Defines an array of known hosts hashes.
Default value: $cerebro::params::hosts
Data type: Variant[Pattern[/^\/$/],Stdlib::Unixpath]
Specifies the application base path.
Default value: $cerebro::params::basepath
Data type: Stdlib::Unixpath
Specifies a shell for the cerebro user.
Default value: $cerebro::params::shell
Data type: Boolean
Determines whether to creating the user that the cerebro process is executed as.
Default value: $cerebro::params::manage_user
Data type: String[1]
Specifies the user that cerebro process is executed as.
Default value: $cerebro::params::cerebro_user
Data type: Optional[String[1]]
Defines a package location for downloading cerebro.
Default value: $cerebro::params::package_url
Data type: Array[String[1]]
Defines the JAVA_OPTS
variables.
Default value: $cerebro::params::java_opts
Data type: Optional[Stdlib::Unixpath]
Defines the JAVA_HOME
path.
Default value: $cerebro::params::java_home
Data type: Optional[Hash]
Defines basic authentication settings.
Default value: $cerebro::params::basic_auth_settings
Data type: Optional[Stdlib::IP::Address]
Defines the IP address cerebro should listen on.
Default value: $cerebro::params::address