summaryrefslogtreecommitdiff
path: root/spec/acceptance/beaker/git/basic_auth
diff options
context:
space:
mode:
authorJohn Duarte <john.duarte@puppetlabs.com>2014-06-14 08:02:45 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-06-16 13:54:16 -0700
commit47b32a8d380beb48e0ea85be904c48da0405e982 (patch)
treef7dbb4b37bdf0856fadf24f3bfbe0168de79b81f /spec/acceptance/beaker/git/basic_auth
parenta1d74e33c237f64ee9edb14e53644447b6c962ed (diff)
downloadpuppet-vcsrepo-47b32a8d380beb48e0ea85be904c48da0405e982.tar.gz
puppet-vcsrepo-47b32a8d380beb48e0ea85be904c48da0405e982.tar.bz2
Change tests to not install git-daemon on debian
The git-daemon is not a valid package on debian based systems. Update tests to not try installing git-daemon on debian systems.
Diffstat (limited to 'spec/acceptance/beaker/git/basic_auth')
-rw-r--r--spec/acceptance/beaker/git/basic_auth/negative/basic_auth_checkout_git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/beaker/git/basic_auth/negative/basic_auth_checkout_git.rb b/spec/acceptance/beaker/git/basic_auth/negative/basic_auth_checkout_git.rb
index 67544bf..628c627 100644
--- a/spec/acceptance/beaker/git/basic_auth/negative/basic_auth_checkout_git.rb
+++ b/spec/acceptance/beaker/git/basic_auth/negative/basic_auth_checkout_git.rb
@@ -16,7 +16,7 @@ hosts.each do |host|
end
step 'setup - start git daemon' do
- install_package(host, 'git-daemon')
+ install_package(host, 'git-daemon') unless host['platform'] =~ /debian|ubuntu/
on(host, "git daemon --base-path=#{tmpdir} --export-all --reuseaddr --verbose --detach")
end