diff options
author | John Duarte <john.duarte@puppetlabs.com> | 2014-05-16 14:58:17 -0700 |
---|---|---|
committer | John Duarte <john.duarte@puppetlabs.com> | 2014-05-18 11:38:20 -0700 |
commit | 0406d627bcd7e24d181944b4d2c70a7b6e50ccf5 (patch) | |
tree | 14b470616b40de84da9404c0b94fef8c34a7388a /spec/acceptance/beaker/git/shallow_clone/negative | |
parent | 123fe4099e4e4fdda7b34a769458a1dcaad75aae (diff) | |
download | puppet-vcsrepo-0406d627bcd7e24d181944b4d2c70a7b6e50ccf5.tar.gz puppet-vcsrepo-0406d627bcd7e24d181944b4d2c70a7b6e50ccf5.tar.bz2 |
Fix calls to ruby
Diffstat (limited to 'spec/acceptance/beaker/git/shallow_clone/negative')
-rw-r--r-- | spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb index 4c43be1..ecd51ad 100644 --- a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb +++ b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb @@ -4,7 +4,7 @@ test_name 'C3479 - shallow clone repo minimal depth = 1 (http protocol)' repo_name = 'testrepo_shallow_clone' hosts.each do |host| - ruby = '/opt/puppet/bin/ruby' if host.is_pe? || 'ruby' + ruby = (host.is_pe? && '/opt/puppet/bin/ruby') || 'ruby' tmpdir = host.tmpdir('vcsrepo') step 'setup - create repo' do install_package(host, 'git') |