Puppet Class: selenium::node
- Inherits:
- selenium::params
- Defined in:
- manifests/node.pp
Overview
Class: selenium::node
Please refer to github.com/jhoblitt/puppet-selenium#seleniumnode for parameter documentation.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'manifests/node.pp', line 7
class selenium::node(
$display = $selenium::params::display,
$options = $selenium::params::node_options,
$hub = $selenium::params::default_hub,
) inherits selenium::params {
validate_string($display)
validate_string($options)
validate_string($hub)
include selenium
$safe_options = "${options} -hub ${hub}"
anchor { 'selenium::node::begin': } ->
Class[ 'selenium' ] ->
selenium::config{ 'node':
display => $display,
user => $selenium::user,
group => $selenium::group,
install_root => $selenium::install_root,
options => $safe_options,
java => $selenium::java,
} ->
anchor { 'selenium::node::end': }
}
|