Fix cinder-backup deployment templates

Fix the step_config portion of the puppet_config that configures the
cinder-backup service's backend driver. For the pacemaker version,
fix the path to the CinderBackupBase's step_config.

Closes-Bug: #1826897
Change-Id: I9c7e938ddd3a21eeb6166ade7874c46700bb6a5b
This commit is contained in:
Alan Bishop 2019-04-29 12:13:14 -04:00
parent 9e55d59cef
commit 1e33dfa8f6
2 changed files with 6 additions and 6 deletions

View File

@ -141,13 +141,14 @@ outputs:
config_volume: cinder
puppet_tags: cinder_config,file,concat,file_line
step_config:
str_replace:
template: "include ::tripleo::profile::base::cinder::backup::DRIVER"
params:
DRIVER: {get_param: CinderBackupBackend}
list_join:
- "\n"
- - {get_attr: [CinderBase, role_data, step_config]}
-
str_replace:
template: "include ::tripleo::profile::base::cinder::backup::DRIVER"
params:
DRIVER: {get_param: CinderBackupBackend}
- {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerCinderConfigImage}
kolla_config:

View File

@ -138,8 +138,7 @@ outputs:
step_config:
list_join:
- "\n"
- - {get_attr: [CinderBackupBase, role_data, step_config]}
- {get_attr: [MySQLClient, role_data, step_config]}
- - {get_attr: [CinderBackupBase, role_data, puppet_config, step_config]}
- "include ::tripleo::profile::pacemaker::cinder::backup"
config_image: {get_param: DockerCinderConfigImage}
kolla_config: