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)