3c6ec654b4
Heat now supports release name aliases, so we can replace the inconsistent mix of date related versions with one consistent version that aligns with the supported version of heat for this t-h-t branch. This should also help new users who sometimes copy/paste old templates and discover intrinsic functions in the t-h-t docs don't work because their template version is too old. Change-Id: Ib415e7290fea27447460baa280291492df197e54
35 lines
906 B
YAML
35 lines
906 B
YAML
heat_template_version: ocata
|
|
|
|
description: >
|
|
Software-config for performing package updates using yum
|
|
|
|
resources:
|
|
|
|
config:
|
|
type: OS::Heat::SoftwareConfig
|
|
properties:
|
|
group: script
|
|
config:
|
|
list_join:
|
|
- ''
|
|
- - get_file: pacemaker_common_functions.sh
|
|
- get_file: yum_update.sh
|
|
|
|
inputs:
|
|
- name: update_identifier
|
|
description: yum will only run for previously unused values of update_identifier
|
|
default: ''
|
|
- name: command
|
|
description: yum sub-command to run, defaults to "update"
|
|
default: update
|
|
- name: command_arguments
|
|
description: yum command arguments, defaults to ""
|
|
default: ''
|
|
outputs:
|
|
- name: update_managed_packages
|
|
description: boolean value indicating whether to upgrade managed packages
|
|
|
|
outputs:
|
|
OS::stack_id:
|
|
value: {get_resource: config}
|