diff options
Diffstat (limited to 'docker/services/ceilometer-agent-notification.yaml')
-rw-r--r-- | docker/services/ceilometer-agent-notification.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/services/ceilometer-agent-notification.yaml b/docker/services/ceilometer-agent-notification.yaml index 891750ad..de1d2e72 100644 --- a/docker/services/ceilometer-agent-notification.yaml +++ b/docker/services/ceilometer-agent-notification.yaml @@ -36,6 +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: @@ -58,6 +62,8 @@ outputs: value: service_name: {get_attr: [CeilometerAgentNotificationBase, role_data, service_name]} config_settings: {get_attr: [CeilometerAgentNotificationBase, role_data, config_settings]} + logging_source: {get_attr: [CeilometerAgentNotificationBase, role_data, logging_source]} + logging_groups: {get_attr: [CeilometerAgentNotificationBase, role_data, logging_groups]} step_config: &step_config get_attr: [CeilometerAgentNotificationBase, role_data, step_config] service_config_settings: {get_attr: [CeilometerAgentNotificationBase, role_data, service_config_settings]} @@ -117,3 +123,8 @@ outputs: - name: Stop and disable ceilometer agent notification service tags: step2 service: name=openstack-ceilometer-notification state=stopped enabled=no + - name: Remove openstack-ceilometer-notification package if operator requests it + yum: name=openstack-ceilometer-notification state=removed + tags: step2 + ignore_errors: True + when: {get_param: UpgradeRemoveUnusedPackages} |