aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks/yum_update.yaml
blob: 9daa83530fd83d4dd93773f772e46b1e79669a5e (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
27
28
29
30
31
32
33
34
heat_template_version: pike

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}