Skip to content

Commit

Permalink
Merge pull request #575 from waipeng/py3_virtualenv
Browse files Browse the repository at this point in the history
Use Python 3 for virtualenv tests
  • Loading branch information
bastelfreak authored Oct 5, 2020
2 parents 87f4afa + 89b3324 commit 698dc11
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions spec/acceptance/virtualenv_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
# Using puppet_apply as a helper
it 'works with no errors' do
pp = <<-EOS
if $facts['os']['name'] == 'Ubuntu' and $facts['os']['release']['major'] == '16.04' {
$version = '3'
} else {
$version = 'system'
}
$version = '3'
class { 'python' :
version => $version,
pip => 'present',
Expand All @@ -19,6 +16,7 @@ class { 'python' :
ensure => 'present',
version => $version,
systempkgs => false,
distribute => false,
venv_dir => '/opt/venv',
}
-> python::pip { 'rpyc' :
Expand Down

0 comments on commit 698dc11

Please sign in to comment.