Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add l2gw neutron agent support
[apex-tripleo-heat-templates.git]
/
puppet
/
services
/
auditd.yaml
diff --git
a/puppet/services/auditd.yaml
b/puppet/services/auditd.yaml
index
a0535ae
..
989ad7a
100644
(file)
--- a/
puppet/services/auditd.yaml
+++ b/
puppet/services/auditd.yaml
@@
-13,6
+13,14
@@
parameters:
DefaultPasswords:
default: {}
type: json
DefaultPasswords:
default: {}
type: json
+ RoleName:
+ default: ''
+ description: Role name on which the service is applied
+ type: string
+ RoleParameters:
+ default: {}
+ description: Parameters specific to the role
+ type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
@@
-35,7
+43,7
@@
outputs:
upgrade_tasks:
- name: Check if auditd is deployed
command: systemctl is-enabled auditd
upgrade_tasks:
- name: Check if auditd is deployed
command: systemctl is-enabled auditd
- tags:
step0,validati
on
+ tags:
comm
on
ignore_errors: True
register: auditd_enabled
- name: "PreUpgrade step0,validation: Check if auditd is running"
ignore_errors: True
register: auditd_enabled
- name: "PreUpgrade step0,validation: Check if auditd is running"
@@
-46,4
+54,5
@@
outputs:
tags: step0,validation
- name: Stop auditd service
tags: step2
tags: step0,validation
- name: Stop auditd service
tags: step2
+ when: auditd_enabled.rc == 0
service: name=auditd state=stopped
service: name=auditd state=stopped