summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Deaton <robert@quizlet.com>2014-03-25 12:32:55 -0700
committerRobert Deaton <robert@quizlet.com>2014-03-25 12:32:55 -0700
commit846844259b042a8ce3444e21aed880be299760ef (patch)
tree59e85a965d9a2aa7703bf4a6bc0e74863bcf79e6
parentf3dc9dd4fe59c06dd32b4951d0e796ea0b37fa49 (diff)
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}",
}