Merge "Always try to use the latest virtualenv"

This commit is contained in:
Jenkins 2015-03-24 00:40:24 +00:00 committed by Gerrit Code Review
commit 32da30247c

View File

@ -61,15 +61,9 @@ class openstack_project::base(
}
include pip
$desired_virtualenv = '1.11.4'
if (( versioncmp($::virtualenv_version, $desired_virtualenv) < 0 )) {
$virtualenv_ensure = $desired_virtualenv
} else {
$virtualenv_ensure = present
}
package { 'virtualenv':
ensure => $virtualenv_ensure,
ensure => latest,
provider => pip,
require => Class['pip'],
}