This module is inspired from minitage's buildout maker (https://github.com/minitage/minitage/blob/master/src/minitage/core/makers/buildout.py)
2016.3.0 新版功能.
注解
This state module is beta; the API is subject to change and no promise as to performance or functionality is yet present
built
installed1
buildout.installed:
- name: /path/to/buildout
installed2
buildout.installed:
- name: /path/to/buildout
- parts:
- a
- b
- python: /path/to/pythonpath/bin/python
- unless: /bin/test_something_installed
- onlyif: /bin/test_else_installed
salt.states.zcbuildout.
installed
(name, config='buildout.cfg', quiet=False, parts=None, user=None, env=(), buildout_ver=None, test_release=False, distribute=None, new_st=None, offline=False, newest=False, python='/Users/pengyao/git/github/cssug/salt-doc-zh/python-env/bin/python', debug=False, verbose=False, unless=None, onlyif=None, use_vt=False, loglevel='debug', **kwargs)¶Install buildout in a specific directory
It is a thin wrapper to modules.buildout.buildout
quiet
do not output console & logs
user used to run buildout as
2014.1.4 新版功能.