tripleo-heat-templates/deployment/logrotate/tmpwatch-install.yaml
Alex Schultz 4e39acd147 Fix privilege escalation
This change enabled become: true to the deploy step and host prep task
execution. external tasks are still become: false as they are delegated
to localhost and run as the same user running the deployment.

Change-Id: I79631ce0ed450febae96db2f32198e02eb427d91
Related-Bug: #1883609
2020-07-05 16:20:00 -04:00

44 lines
1.1 KiB
YAML

heat_template_version: rocky
description: >
Install tmpwatch
parameters:
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults.
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
outputs:
role_data:
description: Role data for tmpwatch install
value:
service_name: logrotate_tmpwatch
host_prep_tasks:
- name: install tmpwatch on the host
package:
name: tmpwatch
state: installed