summaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks/yum_update.yaml
blob: e918149eed26224a183a2ebfab9f72f5bfdf29dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
heat_template_version: 2014-10-16

description: >
  Software-config for performing package updates using yum

resources:

  config:
    type: OS::Heat::SoftwareConfig
    properties:
      group: script
      config: {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:
  OS::stack_id:
    value: {get_resource: config}