Merge "Redis: replace hiera CLI"

This commit is contained in:
Zuul 2022-09-20 09:50:52 +00:00 committed by Gerrit Code Review
commit 17a4328f3e

View File

@ -214,11 +214,7 @@ outputs:
command:
# Note: kolla doesn't process string arguments as expected,
# so use a bash idiom to achieve the same result
str_replace:
template:
bash -c $* -- eval /wait-port-and-run.sh $(hiera fqdn_$NETWORK) 6379 stunnel /etc/stunnel/stunnel.conf
params:
$NETWORK: {get_param: [ServiceNetMap, RedisNetwork]}
bash -c $* -- eval /wait-port-and-run.sh $(crudini --get /etc/stunnel/stunnel.conf redis accept | rev | cut -d : -f 1- | rev) 6379 stunnel /etc/stunnel/stunnel.conf
config_files:
- source: "/var/lib/kolla/config_files/src/*"
dest: "/"