Skip to content

Commit

Permalink
mv user setup from selenium::server -> selenium::install
Browse files Browse the repository at this point in the history
To break a dependency cycle between wget::fetch and user.
  • Loading branch information
Joshua Hoblitt committed Oct 1, 2013
1 parent 93670c4 commit 2164d59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@

include wget

user { $selenium::server::user:
gid => [$selenium::server::group],
}
group { $selenium::server::group: }

$jar_name = "selenium-server-standalone-${version}.jar"

if $url {
Expand Down
5 changes: 0 additions & 5 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
validate_string($group)
validate_string($install_path)

user { $user:
gid => [$group],
}
group { $group: }

class { 'selenium::install': } ->
class { 'selenium::config': } ->
class { 'selenium::service': } ->
Expand Down

0 comments on commit 2164d59

Please sign in to comment.