diff --git a/spec/acceptance/virtualenv_spec.rb b/spec/acceptance/virtualenv_spec.rb index de60ab09..13e5888d 100644 --- a/spec/acceptance/virtualenv_spec.rb +++ b/spec/acceptance/virtualenv_spec.rb @@ -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', @@ -19,6 +16,7 @@ class { 'python' : ensure => 'present', version => $version, systempkgs => false, + distribute => false, venv_dir => '/opt/venv', } -> python::pip { 'rpyc' :