summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSergey Stankevich <sergey.stankevich@gmail.com>2013-11-08 13:28:27 +0200
committerSergey Stankevich <sergey.stankevich@gmail.com>2013-11-08 13:28:27 +0200
commit7db751bc9525d82771abdaff17866e1e4ba83014 (patch)
tree1803d97cfc0fdf873b0cadb1af307f8a6c583fe4 /README.md
parent29bf73bfa6d3e0f6b880bb4c4125edc1b8f0675e (diff)
parent6372243d61025844e3aff4bff4591b1ea23449f5 (diff)
Merge branch 'master' of github.com:stankevich/puppet-python
* 'master' of github.com:stankevich/puppet-python: ws fix example docs docs added cwd parameter, made timeout configurable
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index e9a2b85..0bcd952 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',
@@ -126,6 +130,8 @@ Creates Python virtualenv.
distribute => false,
owner => 'appuser',
group => 'apps',
+ cwd => '/var/www/project1',
+ timeout => 0,
}
### python::gunicorn