diff options
Diffstat (limited to 'docker/services/octavia-health-manager.yaml')
-rw-r--r-- | docker/services/octavia-health-manager.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docker/services/octavia-health-manager.yaml b/docker/services/octavia-health-manager.yaml index f5e1eda5..5180e416 100644 --- a/docker/services/octavia-health-manager.yaml +++ b/docker/services/octavia-health-manager.yaml @@ -36,7 +36,10 @@ parameters: default: {} description: Parameters specific to the role type: json - + UpgradeRemoveUnusedPackages: + default: false + description: Remove package if the service is being disabled during upgrade + type: boolean resources: @@ -59,6 +62,8 @@ outputs: value: service_name: {get_attr: [OctaviaHealthManagerPuppetBase, role_data, service_name]} config_settings: {get_attr: [OctaviaHealthManagerPuppetBase, role_data, config_settings]} + logging_source: {get_attr: [OctaviaHealthManagerPuppetBase, role_data, logging_source]} + logging_groups: {get_attr: [OctaviaHealthManagerPuppetBase, role_data, logging_groups]} step_config: &step_config get_attr: [OctaviaHealthManagerPuppetBase, role_data, step_config] service_config_settings: {get_attr: [OctaviaHealthManagerPuppetBase, role_data, service_config_settings]} @@ -115,3 +120,8 @@ outputs: - name: Stop and disable octavia_health_manager service tags: step2 service: name=openstack-octavia-health-manager state=stopped enabled=no + - name: Remove openstack-octavia-health-manager package if operator requests it + yum: name=openstack-octavia-health-manager state=removed + tags: step2 + ignore_errors: True + when: {get_param: UpgradeRemoveUnusedPackages} |