Skip to content

Commit

Permalink
Merge pull request #11 from jhoblitt/feature/jar-2.41.0
Browse files Browse the repository at this point in the history
update default selenium jar version to 2.41.0
  • Loading branch information
Joshua Hoblitt committed May 22, 2014
2 parents fa644ee + c6daae6 commit 8a40c58
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 77 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
Expand Down Expand Up @@ -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.
Expand Down
74 changes: 2 additions & 72 deletions manifests/init.pp
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
#
# Please refer to https://github.com/jhoblitt/puppet-selenium#usage for
# parameter documentation.
#
class selenium(
$user = $selenium::params::user,
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion spec/classes/selenium_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:group => 'selenium',
:install_root => '/opt/selenium',
:java => 'java',
:version => '2.39.0',
:version => '2.41.0',
:url => '',
:download_timeout => '90',
}
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/selenium_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
Expand Down

0 comments on commit 8a40c58

Please sign in to comment.