summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Stankevich <stankevich@users.noreply.github.com>2014-03-25 16:53:06 -0400
committerSergey Stankevich <stankevich@users.noreply.github.com>2014-03-25 16:53:06 -0400
commit5227f310bff13a4a314bca3d8a5cc7970fcfe1b7 (patch)
tree59e85a965d9a2aa7703bf4a6bc0e74863bcf79e6
parentf3dc9dd4fe59c06dd32b4951d0e796ea0b37fa49 (diff)
parent846844259b042a8ce3444e21aed880be299760ef (diff)
Merge pull request #75 from quizlet/master
Add pypy support
-rw-r--r--manifests/install.pp1
-rw-r--r--manifests/virtualenv.pp1
2 files changed, 2 insertions, 0 deletions
diff --git a/manifests/install.pp b/manifests/install.pp
index c4914f7..1c2cb0b 100644
--- a/manifests/install.pp
+++ b/manifests/install.pp
@@ -17,6 +17,7 @@ class python::install {
$python = $python::version ? {
'system' => 'python',
+ 'pypy' => 'pypy',
default => "python${python::version}",
}
diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp
index b9cd689..2faa809 100644
--- a/manifests/virtualenv.pp
+++ b/manifests/virtualenv.pp
@@ -85,6 +85,7 @@ define python::virtualenv (
$python = $version ? {
'system' => 'python',
+ 'pypy' => 'pypy',
default => "python${version}",
}