Merge "Remove hiera hook transition from the upgradeinitcommand."

This commit is contained in:
Zuul 2017-12-01 08:14:53 +00:00 committed by Gerrit Code Review
commit d50fa14698
1 changed files with 0 additions and 5 deletions

View File

@ -6,14 +6,9 @@ parameter_defaults:
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