Move memcached deps to bootstrap section for horizon
Since it only needed for config render. TrivialFix Change-Id: Idb04fd3c82fa0c9f6799cdbff2eb024a999b4a70
This commit is contained in:
parent
7614e9d2a1
commit
3a9455045c
|
@ -101,7 +101,7 @@ class TestValidate(base.BaseTestCase):
|
||||||
'run_by': template,
|
'run_by': template,
|
||||||
'waiters': {}},
|
'waiters': {}},
|
||||||
'memcached/daemon': {
|
'memcached/daemon': {
|
||||||
'waiters': {'daemon': 'test/horizon/daemon'}},
|
'waiters': {'bootstrap': 'test/horizon/bootstrap'}},
|
||||||
'test/horizon/bootstrap': {
|
'test/horizon/bootstrap': {
|
||||||
'name': 'bootstrap',
|
'name': 'bootstrap',
|
||||||
'registered_by': 'bootstrap',
|
'registered_by': 'bootstrap',
|
||||||
|
|
|
@ -12,9 +12,6 @@ service:
|
||||||
command: /usr/local/bin/kolla_apache_wrapper.sh
|
command: /usr/local/bin/kolla_apache_wrapper.sh
|
||||||
dependencies:
|
dependencies:
|
||||||
- path: horizon/bootstrap
|
- path: horizon/bootstrap
|
||||||
{% if enable_memcached | bool %}
|
|
||||||
- path: memcached/daemon
|
|
||||||
{% endif %}
|
|
||||||
files:
|
files:
|
||||||
apache_wrapper.sh:
|
apache_wrapper.sh:
|
||||||
source: config/common/apache_wrapper.sh.j2
|
source: config/common/apache_wrapper.sh.j2
|
||||||
|
@ -28,6 +25,10 @@ service:
|
||||||
commands:
|
commands:
|
||||||
bootstrap:
|
bootstrap:
|
||||||
command: kolla_extend_start
|
command: kolla_extend_start
|
||||||
|
{% if enable_memcached | bool %}
|
||||||
|
dependencies:
|
||||||
|
- path: memcached/daemon
|
||||||
|
{% endif %}
|
||||||
env:
|
env:
|
||||||
KOLLA_BOOTSTRAP:
|
KOLLA_BOOTSTRAP:
|
||||||
files:
|
files:
|
||||||
|
|
Loading…
Reference in New Issue