summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/virtualenv.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp
index 96d48ee..e5397da 100644
--- a/manifests/virtualenv.pp
+++ b/manifests/virtualenv.pp
@@ -96,7 +96,7 @@ define python::virtualenv (
# and the flag --no-site-packages had to be passed to do the opposite
if (( versioncmp($::virtualenv_version,'1.7') > 0 ) and ( $systempkgs == true )) {
$system_pkgs_flag = '--system-site-packages'
- } elif (( versioncmp($::virtualenv_version,'1.7') < { 0 ) and ( $systempkgs == false ))
+ } elsif (( versioncmp($::virtualenv_version,'1.7') < { 0 ) and ( $systempkgs == false ))
$system_pkgs_flag = '--no-site-packages'
} else {
$system_pkgs_flag = ''