927495fe3d
The new master branch should point now to queens instead of pike. So, HOT templates should specify that they might contain features for queens release [1] [1]: https://docs.openstack.org/heat/latest/template_guide/hot_spec.html#queens Change-Id: I7654d1c59db0c4508a9d7045f452612d22493004
30 lines
839 B
YAML
30 lines
839 B
YAML
heat_template_version: queens
|
|
description: 'No-op yum update task'
|
|
|
|
resources:
|
|
|
|
config:
|
|
type: OS::Heat::SoftwareConfig
|
|
properties:
|
|
group: script
|
|
config: |
|
|
#!/bin/bash
|
|
echo -n "false" > $heat_outputs_path.update_managed_packages
|
|
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}
|