summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Quick <justquick@gmail.com>2013-11-07 16:03:28 -0500
committerJustin Quick <justquick@gmail.com>2013-11-07 16:03:28 -0500
commitc45a37b5819d3c0dab423b93cefb31e65bddad9d (patch)
treee3f548ff5e1d91897bd4d5fafc26250263d29f5b
parent8a68085f7450f95ca736c690e14b58a0998a13f1 (diff)
docs
-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':