Make debug mode configurable

Change-Id: Iecdce0922b4a4305de07edf526c435be3b01b39d
This commit is contained in:
Christian Berendt 2015-05-08 12:38:34 +02:00
parent fc415f5067
commit 1cca75f5a3
3 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,7 @@
box:
name: boxcutter/centos71
storage_controller: 'SATA Controller'
debug: false
development: false
bridge_internal: tap0
network_agent: openvswitch

View File

@ -106,6 +106,11 @@ Development version
To use the development version (``master``) of Packstack set
``development: true``.
Debug mode
----------
To enable the debug mode for the deployed services set ``debug: true``.
Storage backend
---------------

View File

@ -75,7 +75,7 @@ EXCLUDE_SERVERS=
# Specify 'y' if you want to run OpenStack services in debug mode;
# otherwise, specify 'n'. ['y', 'n']
CONFIG_DEBUG_MODE=y
CONFIG_DEBUG_MODE={{ 'y' if debug == true else 'n' }}
# IP address of the server on which to install OpenStack services
# specific to the controller role (for example, API servers or