A configuration management service with support for secrets.
905ca1732b
The following deployment logic should be included to get logging to work correctly: 1) tox -egenconfig - Store the output in /etc/deckhand/deckhand.conf for example 2) Copy logging.conf.sample in etc folder to /etc/deckhand/logging.conf 3) Set the following options in under [DEFAULT] in /etc/deckhand/deckhand.conf: - log_config_append = /etc/deckhand/logging.conf - log_file = deckhand.log - log_dir = <path/to/deckhand/dir> - debug = true (optionally) Change-Id: I8e8ebd041e801a5eef0f10b1bbc76ce95aecbf55 |
||
---|---|---|
deckhand | ||
docs | ||
etc/deckhand | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
AUTHORS | ||
Dockerfile | ||
entrypoint.sh | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Deckhand
A foundational python REST YAML processing engine providing data and secrets management to other platform services.
To generate a configuration file automatically:
$ tox -e genconfig
Resulting deckhand.conf.sample file is output to :path:etc/deckhand/deckhand.conf.sample
Copy the config file to a directory discoverably by
oslo.conf
:
$ cp etc/deckhand/deckhand.conf.sample ~/deckhand.conf
To setup an in-memory database for testing:
[database]
#
# From oslo.db
#
# The SQLAlchemy connection string to use to connect to the database.
# (string value)
connection = sqlite:///:memory:
To run locally in a development environment:
$ sudo pip install uwsgi
$ virtualenv -p python3 /var/tmp/deckhand
$ . /var/tmp/deckhand/bin/activate
$ sudo pip install .
$ sudo python setup.py install
$ uwsgi --http :9000 -w deckhand.cmd --callable deckhand_callable --enable-threads -L