Puppet Class: selenium::hub

Inherits:
selenium::params
Defined in:
manifests/hub.pp

Overview

Class: selenium::hub

Please refer to github.com/jhoblitt/puppet-selenium#seleniumhub for parameter documentation.

Parameters:

  • options (Any) (defaults to: $selenium::params::hub_options)


7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'manifests/hub.pp', line 7

class selenium::hub(
  $options = $selenium::params::hub_options,
) inherits selenium::params {
  validate_string($options)

  include selenium

  anchor { 'selenium::hub::begin': } ->
  Class[ 'selenium' ] ->
  selenium::config{ 'hub':
    user         => $selenium::user,
    group        => $selenium::group,
    install_root => $selenium::install_root,
    options      => $options,
    java         => $selenium::java,
  } ->
  anchor { 'selenium::hub::end': }
}