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

resource_registry:
  OS::TripleO::PostDeploySteps: ../common/major_upgrade_steps.yaml
parameter_defaults:
  EnableConfigPurge: true
  StackUpdateType: UPGRADE
  UpgradeLevelNovaCompute: auto
  UpgradeInitCommonCommand: |
    #!/bin/bash
    set -eu
    yum install -y python-heat-agent-*
    yum update -y ansible
    yum install -y ansible-pacemaker
  MigrationSshPort: 22
  UpgradeRemoveUnusedPackages: false

Remove hiera hook transition from the upgradeinitcommand.
Remove hiera hook transition from the upgradeinitcommand.

This is only valid for Netwon to Ocata upgrade.

Change-Id: I57dba7e004455b260d4c862bd6399d8f2848bcd8
