instack-undercloud/scripts
Emilien Macchi 8ba565cb21 Align the stars to unblock instack-undercloud gate on stable/mitaka
We need to squash to patches if we want to unblock stable/mitaka CI.

First patch:

Fix bashate errors and warnings (lint)

Fix 1 warning and 1 error in bash syntax:

1) E043: Arithmetic compound has inconsistent return semantics.
   Fix the bash syntax to be compliant.

2) ERROR: Split export and assignments in 2 files. Ignore the files.
   Fix the bash syntax to be compliant.
   Note: this test has been introducted by
   https://review.openstack.org/#/c/400542/

(cherry picked from commit 9031dcf620)

Second Patch:

Run `yum update -y` before Puppet run

This patch run `yum update -y` right before running os-refresh-config
(Puppet).

1) Running `yum` from an Exec in Puppet is a bad idea because Puppet has
no idea which packages resources are touched, so we're loosing the
orchestration control.

2) We need to ensure that `yum update -y` runs before any attempt to
deploy OpenStack services, so we have latest packages from RDO and
CentOS.

Closes-Bug: #1650374
(cherry picked from commit 853b4bfbad)

Change-Id: Ifbbbdbf1f0c569791abc712913c7e0f6bbe533d9
(cherry picked from commit aab2dadd19)
2016-12-21 22:13:57 +00:00
..
instack-create-overcloudrc Revive bashate tox test 2015-11-03 10:20:05 +01:00
instack-install-undercloud Pythonize instack-install-undercloud 2015-05-26 14:02:18 +02:00
instack-virt-setup Align the stars to unblock instack-undercloud gate on stable/mitaka 2016-12-21 22:13:57 +00:00