diff options
author | Justin Quick <justquick@gmail.com> | 2013-11-07 16:03:28 -0500 |
---|---|---|
committer | Justin Quick <justquick@gmail.com> | 2013-11-07 16:03:28 -0500 |
commit | c45a37b5819d3c0dab423b93cefb31e65bddad9d (patch) | |
tree | e3f548ff5e1d91897bd4d5fafc26250263d29f5b | |
parent | 8a68085f7450f95ca736c690e14b58a0998a13f1 (diff) |
docs
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | manifests/virtualenv.pp | 6 |
2 files changed, 10 insertions, 0 deletions
@@ -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': |