Skip to content

Commit

Permalink
fix wget download destination
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed Oct 1, 2013
1 parent 2164d59 commit 9148bbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

wget::fetch { 'selenium-server-standalone':
source => $jar_url,
destination => "${selenium::server::jar_path}/${jar_name}",
destination => "${jar_path}/${jar_name}",
timeout => 30,
execuser => $selenium::server::user,
require => File[$jar_path],
Expand Down
7 changes: 6 additions & 1 deletion spec/classes/selenium_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@
'owner' => 'root',
'group' => 'root',
})
should contain_wget__fetch('selenium-server-standalone')
should contain_wget__fetch('selenium-server-standalone').with({
'source' => 'https://selenium.googlecode.com/files/selenium-server-standalone-2.35.0.jar',
'destination' => '/opt/selenium/jars/selenium-server-standalone-2.35.0.jar',
'timeout' => '30',
'execuser' => 'selenium',
})
end
end

Expand Down

0 comments on commit 9148bbf

Please sign in to comment.