X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=puppet%2Fservices%2Fauditd.yaml;h=989ad7a7cf3557dd395efe51cab55de101bdfa0a;hb=633ab23f887ab68951cce4bee8cb71e77a28d461;hp=a0535ae7dd76e3d5f598903825b5b1b67af1eee3;hpb=c992dcf51a3a6ab75eeb9e15c55e03f317f7633c;p=apex-tripleo-heat-templates.git diff --git a/puppet/services/auditd.yaml b/puppet/services/auditd.yaml index a0535ae7..989ad7a7 100644 --- a/puppet/services/auditd.yaml +++ b/puppet/services/auditd.yaml @@ -13,6 +13,14 @@ parameters: 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 @@ -35,7 +43,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 +54,5 @@ outputs: tags: step0,validation - name: Stop auditd service tags: step2 + when: auditd_enabled.rc == 0 service: name=auditd state=stopped