summaryrefslogtreecommitdiffstats
path: root/environments/major-upgrade-composable-steps.yaml
blob: 0dbb6cdae91263dd80f6753ab880c497d7404f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
resource_registry:
  OS::TripleO::PostDeploySteps: ../common/major_upgrade_steps.yaml
parameter_defaults:
  EnableConfigPurge: true
  StackUpdateType: UPGRADE
  UpgradeLevelNovaCompute: auto
  UpgradeInitCommonCommand: |
    #!/bin/bash
    # Newton to Ocata, we need to remove old hiera hook data and
    # install ansible heat agents and ansible-pacemaker
    set -eu
    yum install -y python-heat-agent-*
    yum update -y ansible
    yum install -y ansible-pacemaker
    rm -f /usr/libexec/os-apply-config/templates/etc/puppet/hiera.yaml
    rm -f /usr/libexec/os-refresh-config/configure.d/40-hiera-datafiles
    rm -f /etc/puppet/hieradata/*.yaml
  MigrationSshPort: 22
  UpgradeRemoveUnusedPackages: false