aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks/mitaka_to_newton_aodh_data_migration.yaml
blob: b9a87d33f3d20e62755ced7be644a1fed3fbb5fe (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: 2014-10-16

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}