summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--manifests/virtualenv.pp6
2 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index e9a2b85..cea0c2d 100644
--- a/README.md
+++ b/README.md
@@ -117,6 +117,10 @@ Creates Python virtualenv.
**index** - Base URL of Python package index. Default: none
+**cwd** - The directory from which to run the "pip install" command. Default: undef
+
+**timeout** - The maximum time in seconds the "pip install" command should take. Default: 1800
+
python::virtualenv { '/var/www/project1':
ensure => present,
version => 'system',
diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp
index 8fc17a9..8486183 100644
--- a/manifests/virtualenv.pp
+++ b/manifests/virtualenv.pp
@@ -37,6 +37,12 @@
# [*path*]
# Specifies the PATH variable. Default: [ '/bin', '/usr/bin', '/usr/sbin' ]
#
+# [*cwd*]
+# The directory from which to run the "pip install" command. Default: undef
+#
+# [*timeout*]
+# The maximum time in seconds the "pip install" command should take. Default: 1800
+#
# === Examples
#
# python::virtualenv { '/var/www/project1':