From 0845f02e4496ef7239671a12bb6b1cb19cd56ccc Mon Sep 17 00:00:00 2001 From: Jose Luis Franco Arza Date: Thu, 25 Jan 2018 09:03:24 +0100 Subject: [PATCH] Remove tags from upgrade tasks for aide.yml. After merging [0], the step for each upgrade_task is now handled in a 'when' condition. This patch changes all the 'tags:' in upgrade_tasks to their corresponding 'when:' statement. [0] https://review.openstack.org/#/c/510902/ Change-Id: Id740f69db8ea4ba883a90d9f70a705640c3855d4 --- puppet/services/aide.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/puppet/services/aide.yaml b/puppet/services/aide.yaml index e95526129a..7e5dcc2b71 100644 --- a/puppet/services/aide.yaml +++ b/puppet/services/aide.yaml @@ -85,12 +85,12 @@ outputs: include ::tripleo::profile::base::aide upgrade_tasks: - name: Ensure Aide is installed - tags: step4 + when: step|int == 4 yum: name=aide state=latest - name: re-init database - tags: step5 + when: step|int == 5 shell: aide --init --config $(hiera tripleo::profile::base::aide::aide_conf_path) - name: cp-new-aide-db - tags: step5 + when: step|int == 5 shell: /bin/cp -f $(hiera tripleo::profile::base::aide::aide_db_temp_path) $(hiera tripleo::profile::base::aide::aide_db_path)