9400c1d2fea5569aa671561958a62eb092b846de
[apex-tripleo-heat-templates.git] / extraconfig / tasks / yum_update_noop.yaml
1 heat_template_version: ocata
2 description: 'No-op yum update task'
3
4 resources:
5
6   config:
7     type: OS::Heat::SoftwareConfig
8     properties:
9       group: script
10       config: |
11         #!/bin/bash
12         echo -n "false" > $heat_outputs_path.update_managed_packages
13       inputs:
14       - name: update_identifier
15         description: yum will only run for previously unused values of update_identifier
16         default: ''
17       - name: command
18         description: yum sub-command to run, defaults to "update"
19         default: update
20       - name: command_arguments
21         description: yum command arguments, defaults to ""
22         default: ''
23       outputs:
24       - name: update_managed_packages
25         description: boolean value indicating whether to upgrade managed packages
26
27 outputs:
28   OS::stack_id:
29     value: {get_resource: config}