Skip to content

Commit 698dc11

Browse files
authored
Merge pull request #575 from waipeng/py3_virtualenv
Use Python 3 for virtualenv tests
2 parents 87f4afa + 89b3324 commit 698dc11

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

spec/acceptance/virtualenv_spec.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55
# Using puppet_apply as a helper
66
it 'works with no errors' do
77
pp = <<-EOS
8-
if $facts['os']['name'] == 'Ubuntu' and $facts['os']['release']['major'] == '16.04' {
9-
$version = '3'
10-
} else {
11-
$version = 'system'
12-
}
8+
$version = '3'
9+
1310
class { 'python' :
1411
version => $version,
1512
pip => 'present',
@@ -19,6 +16,7 @@ class { 'python' :
1916
ensure => 'present',
2017
version => $version,
2118
systempkgs => false,
19+
distribute => false,
2220
venv_dir => '/opt/venv',
2321
}
2422
-> python::pip { 'rpyc' :

0 commit comments

Comments
 (0)