aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks/mitaka_to_newton_aodh_data_migration.yaml
blob: 45933fb75903d1c54201b758163fc104f9e6c27c (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
heat_template_version: ocata

description: >
  Software-config for performing aodh data migration

parameters:
  servers:
    type: json
  input_values:
    type: json
    description: input values for the software deployments
resources:

  AodhMysqlMigrationScriptConfig:
    type: OS::Heat::SoftwareConfig
    properties:
      group: script
      config: {get_file: aodh_data_migration.sh}

  AodhMysqlMigrationScriptDeployment:
    type: OS::Heat::SoftwareDeploymentGroup
    properties:
      servers:  {get_param: [servers, Controller]}
      config: {get_resource: AodhMysqlMigrationScriptConfig}
      input_values: {get_param: input_values}