From c6daae69d8dc7d64fd3fc8c083483e0648940deb Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Thu, 22 May 2014 14:49:55 -0700 Subject: [PATCH] update default selenium jar version to 2.41.0 --- README.md | 4 +- manifests/init.pp | 74 +--------------------------- manifests/params.pp | 2 +- spec/classes/selenium_spec.rb | 2 +- spec/defines/selenium_config_spec.rb | 2 +- 5 files changed, 7 insertions(+), 77 deletions(-) diff --git a/README.md b/README.md index c632360..7d15ac5 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ class { 'selenium': group => 'selenium', install_root => '/opt/selenium', java => 'java', - version => '2.39.0', + version => '2.41.0', url => undef, download_timeout => '90', } @@ -225,7 +225,7 @@ class { 'selenium': * `version` - `String` defaults to: `2.39.0` (the latest release as of 2013-12-20) + `String` defaults to: `2.41.0` (the latest release as of 2014-05-22) The version of Selenium Server to download. Used to form the URL used to fetch the jar file. diff --git a/manifests/init.pp b/manifests/init.pp index 82cfcb8..09701b2 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,77 +1,7 @@ # == Class: selenium # -# === Parameters -# -# This class controls common configuration values used by the -# `selenium::{server,hub,node}` classes. It is automatically included in the -# manifest by those classes and it need not be explicitly declared except to -# override the default values. -# -# ```puppet -# # defaults -# class { 'selenium': -# user => 'selenium', -# group => 'selenium', -# install_root => '/opt/selenium', -# java => 'java', -# version => '2.39.0', -# url => undef, -# download_timeout => '90', -# } -# ``` -# -# #### `user` -# -# `String` defaults to: `selenium` -# -# The name/uid of the system role account to execute the server process under -# and will have ownership of files. -# -# #### `group` -# -# `String` defaults to: `selenium` -# -# The group/gid of the system role account and group ownership of files. -# -# #### `install_root` -# -# `String` defaults to: `/opt/selenium` -# -# The dirname under which Selenium Server files (including logs) will be -# created. -# -# #### `java` -# -# `String` defaults to: `java` -# -# The path of the `java` interpreter to use. -# -# #### `version` -# -# `String` defaults to: `2.39.0` (the latest release as of 2013-12-20) -# -# The version of Selenium Server to download. Used to form the URL used to -# fetch the jar file. -# -# #### `url` -# -# `String` defaults to: `undef` -# -# If defined, `url` will be used to download the Selenium Server jar file. -# However, the `version` parameter just match the version of the downloaded -# file as this information is needed when starting up the server (this may -# change to be be automatically parsed from the `url` in a later release). -# -# #### `download_timeout` -# -# `String` defaults to: `90` -# -# Timeout to download of the package. -# -# === Authors -# -# Joshua Hoblitt -# +# Please refer to https://github.com/jhoblitt/puppet-selenium#usage for +# parameter documentation. # class selenium( $user = $selenium::params::user, diff --git a/manifests/params.pp b/manifests/params.pp index 1e668a4..ee5fb2a 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -12,7 +12,7 @@ $hub_options = '-role hub' $node_options = "${server_options} -role node" $java = 'java' - $version = '2.39.0' + $version = '2.41.0' $default_hub = 'http://localhost:4444/grid/register' $download_timeout = '90' diff --git a/spec/classes/selenium_spec.rb b/spec/classes/selenium_spec.rb index ddc3c0d..468264c 100644 --- a/spec/classes/selenium_spec.rb +++ b/spec/classes/selenium_spec.rb @@ -9,7 +9,7 @@ :group => 'selenium', :install_root => '/opt/selenium', :java => 'java', - :version => '2.39.0', + :version => '2.41.0', :url => '', :download_timeout => '90', } diff --git a/spec/defines/selenium_config_spec.rb b/spec/defines/selenium_config_spec.rb index 8789505..3cee50f 100644 --- a/spec/defines/selenium_config_spec.rb +++ b/spec/defines/selenium_config_spec.rb @@ -10,7 +10,7 @@ :display => ':0', :user => 'selenium', :install_root => '/opt/selenium', - :jar_name => 'selenium-server-standalone-2.39.0.jar', + :jar_name => 'selenium-server-standalone-2.41.0.jar', :options => '-Dwebdriver.enable.native.events=1', :java => 'java', }