aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/auditd.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-02 20:24:18 +0000
committerGerrit Code Review <review@openstack.org>2017-03-02 20:24:18 +0000
commit5b8cab7cfdec7aa324ed1b57f2795c9eca3baae4 (patch)
tree2dec51bb12ecfe9e49c26851767ea2b3235faa26 /puppet/services/auditd.yaml
parent6eba4325246351b96996e871aeeab56a03590209 (diff)
parent53225d57b1c4e3de722f9cdc25eefa9a3dec1e97 (diff)
Merge "upgrades/validation: only run validation when services exist" into stable/ocata
Diffstat (limited to 'puppet/services/auditd.yaml')
-rw-r--r--puppet/services/auditd.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/services/auditd.yaml b/puppet/services/auditd.yaml
index a0535ae7..8085ac8b 100644
--- a/puppet/services/auditd.yaml
+++ b/puppet/services/auditd.yaml
@@ -35,7 +35,7 @@ outputs:
upgrade_tasks:
- name: Check if auditd is deployed
command: systemctl is-enabled auditd
- tags: step0,validation
+ tags: common
ignore_errors: True
register: auditd_enabled
- name: "PreUpgrade step0,validation: Check if auditd is running"
@@ -46,4 +46,5 @@ outputs:
tags: step0,validation
- name: Stop auditd service
tags: step2
+ when: auditd_enabled.rc == 0
service: name=auditd state=stopped