Management of zc.buildout
New in version 2014.1.0.
This module is inspired by minitage's buildout maker
Note
The zc.buildout integration is still in beta; the API is subject to change
You have those following methods:
upgrade_bootstrap
bootstrap
run_buildout
buildout
Run the buildout bootstrap dance (python bootstrap.py).
directory to execute in
alternative buildout configuration file to use
User used to run buildout as
environment variables to set when running
force a specific buildout version (1 | 2)
buildout accept test release
are we executing buildout in offline mode
Forcing use of distribute
Forcing use of setuptools >= 0.7
path to a python executable to use in place of default (salt one)
Only execute cmd if statement on the host return 0
Do not execute cmd if statement on the host return 0
Use the new salt VT to stream output [experimental]
CLI Example:
salt '*' buildout.bootstrap /srv/mybuildout
Run buildout in a directory.
directory to execute in
buildout config to use
specific buildout parts to run
user used to run buildout as
environment variables to set when running
force a specific buildout version (1 | 2)
buildout accept test release
Forcing use of setuptools >= 0.7
use distribute over setuptools if possible
does buildout run offline
python to use
run buildout with -D debug flag
Only execute cmd if statement on the host return 0
Do not execute cmd if statement on the host return 0
run buildout in newest mode
run buildout in verbose mode (-vvvvv)
Use the new salt VT to stream output [experimental]
CLI Example:
salt '*' buildout.buildout /srv/mybuildout
Run a buildout in a directory.
directory to execute in
alternative buildout configuration file to use
are we executing buildout in offline mode
user used to run buildout as
environment variables to set when running
Only execute cmd if statement on the host return 0
Do not execute cmd if statement on the host return 0
run buildout in newest mode
run buildout unconditionally
run buildout in verbose mode (-vvvvv)
Use the new salt VT to stream output [experimental]
CLI Example:
salt '*' buildout.run_buildout /srv/mybuildout
Upgrade current bootstrap.py with the last released one.
Indeed, when we first run a buildout, a common source of problem is to have a locally stale bootstrap, we just try to grab a new copy
directory to execute in
are we executing buildout in offline mode
forcing to use a specific buildout version (1 | 2)
Only execute cmd if statement on the host return 0
Do not execute cmd if statement on the host return 0
CLI Example:
salt '*' buildout.upgrade_bootstrap /srv/mybuildout