Merge "Redis: Switch to the new config file path"

This commit is contained in:
Zuul 2022-08-03 18:43:03 +00:00 committed by Gerrit Code Review
commit efb1373578
2 changed files with 7 additions and 14 deletions

View File

@ -99,13 +99,6 @@ outputs:
map_merge:
- {get_attr: [RedisBase, role_data, config_settings]}
- redis::daemonize: false
# NOTE(tkajinam): In CentOS9, the file is placed under /etc/redis.
# Redis resource agent can deal with both of
# the old path and the new path, but the command
# line below for standalone redis does not.
# TODO(tkajinam): Remove this when we drop support for CentOS8.
redis::config_file: '/etc/redis.conf'
redis::config_file_orig: '/etc/redis.conf.puppet'
tripleo::stunnel::foreground: 'yes'
- tripleo::profile::base::database::redis::tls_proxy_bind_ip:
str_replace:
@ -130,8 +123,8 @@ outputs:
# BEGIN DOCKER SETTINGS
puppet_config:
config_volume: 'redis'
# NOTE: we need the exec tag to copy /etc/redis.conf.puppet to
# /etc/redis.conf
# NOTE: we need the exec tag to copy /etc/redis/redis.conf.puppet to
# /etc/redis/redis.conf
# https://github.com/arioch/puppet-redis/commit/1c004143223e660cbd433422ff8194508aab9763
puppet_tags: 'exec'
step_config:
@ -143,7 +136,7 @@ outputs:
config_image: {get_attr: [RoleParametersValue, value, ContainerRedisConfigImage]}
kolla_config:
/var/lib/kolla/config_files/redis.json:
command: /usr/bin/redis-server /etc/redis.conf
command: /usr/bin/redis-server /etc/redis/redis.conf
config_files:
- source: "/var/lib/kolla/config_files/src/*"
dest: "/"

View File

@ -167,8 +167,8 @@ outputs:
tripleo::profile::pacemaker::database::redis_bundle::tls_proxy_port: 6379
- if:
- {get_param: EnableInternalTLS}
- redis::extra_config_file: "/etc/redis-tls.conf"
tripleo::profile::pacemaker::database::redis_bundle::extra_config_file: "/etc/redis-tls.conf"
- redis::extra_config_file: "/etc/redis/redis-tls.conf"
tripleo::profile::pacemaker::database::redis_bundle::extra_config_file: "/etc/redis/redis-tls.conf"
tripleo::profile::pacemaker::database::redis_bundle::tls_tunnel_base_port: 6660
tripleo::profile::pacemaker::database::redis_bundle::tls_tunnel_local_name:
if:
@ -179,8 +179,8 @@ outputs:
# BEGIN DOCKER SETTINGS
puppet_config:
config_volume: 'redis'
# NOTE: we need the exec tag to copy /etc/redis.conf.puppet to
# /etc/redis.conf
# NOTE: we need the exec tag to copy /etc/redis/redis.conf.puppet to
# /etc/redis/redis.conf
# https://github.com/arioch/puppet-redis/commit/1c004143223e660cbd433422ff8194508aab9763
puppet_tags: 'exec'
step_config: |