aboutsummaryrefslogtreecommitdiffstats
path: root/environments/major-upgrade-composable-steps.yaml
blob: 8b1617f9ce48d06ac02f54bda893106dba28f390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
resource_registry:
  OS::TripleO::PostDeploySteps: ../puppet/major_upgrade_steps.yaml
parameter_defaults:
  EnableConfigPurge: true
  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 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