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:
salt.modules.zcbuildout.
bootstrap
(*a, **kw)¶Run the buildout bootstrap dance (python bootstrap.py).
CLI Example:
salt '*' buildout.bootstrap /srv/mybuildout
salt.modules.zcbuildout.
buildout
(*a, **kw)¶Run buildout in a directory.
CLI Example:
salt '*' buildout.buildout /srv/mybuildout
salt.modules.zcbuildout.
run_buildout
(*a, **kw)¶Run a buildout in a directory.
CLI Example:
salt '*' buildout.run_buildout /srv/mybuildout
salt.modules.zcbuildout.
upgrade_bootstrap
(*a, **kw)¶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
CLI Example:
salt '*' buildout.upgrade_bootstrap /srv/mybuildout