The default behavior of `gem install` with regard to the location of the
installed gems and binaries is different in CentOS7, CentOS8 and Ubuntu
so let's make options explicit to get the desired behavior in all cases
and configurations, what means getting gems installed under GEM_HOME to
avoid depending on system wise PATH declarations and installed gems.
Change-Id: I992a930491f65ba9871c3f94806afce54bef9c7b
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I34c2be045d56d99792fcc1533b67c2c8de1aedac
See https://github.com/bundler/bundler/issues/6870
Bundler 2.x dropped support for Ruby < 2.3 so now we detect ruby
version and install last known to work version.
This means that newer OS will get newer versions of bundler.
Change-Id: I906ad01187ad5b929b378107de065d32d23c5fc2
Closes-Bug: #1810401
bundler 2.0.0 is released which needs ruby >= 2.3.0 and rubygems >= 3.0
but we are behind, so let's pin bundler to 1.17.3.
Closes-Bug: #1810401
Change-Id: Ia1190e36443e8ae24219d62771a9fd5ad46e8b25
To avoid error messages like this:
Unable to set ownership to puppet:puppet for log file:
/home/zuul/workspace/puppet.log
we're adding the puppet user before running ./run_tests.sh
Change-Id: I0a00a7f41e700a3e503c1b98947803af47230678
This patch adds apt-transport-https to the list of things to install
before starting, as apt-transport-https isn't installed by default
in Debian. It also replaces the hardcoded "xenial" by
{{ ansible_distribution_release }}. Note that the later will also
help when switching from Xenial to Bionic.
Change-Id: I2e692c62162486be6506ba67cbb4d887262994b2
Stop deploying the scripts in /tmp, and require users to git clone the
repo before, instead of curl + bash command, which is unsecure and
not very useful.
Change-Id: I007a31f644a2a662b8ab3305454d6f1055a3e89b
Add support for Xenial deployments.
* Disable SSL on Ubuntu Xenial deployments.
* Pin puppetlabs-mysql to a recent commit (until they produce a new
tag).
* Disable Ceph on Ubuntu Xenial deployments, neither Hammer or Jewel currently
work out of the box with puppet-ceph on Xenial.
* Disable Horizon on Ubuntu Xenial deployments: not working yet.
* Do not deploy UCA on Xenial, since we currently deploy Mitaka.
* On Xenial, deploy Puppet using distro packaging, not puppetlabs.com.
* Cleanup /etc/default/puppet on Xenial / Puppet4 runs (workaround)
until we figure what is installing this file on Xenial nodepool
image.
All issues are documented here:
See https://etherpad.openstack.org/p/puppet-openstack-xenial
Change-Id: Ifc8c7e241add830c88b84c1f01770e5e15df1653
In order to help be able to determine what part of the script a failure
occurs in, this change adds a print header function and updates the
shell scripts to print some header information for various actions.
Change-Id: I8e622c4d1c9c03aa3dbcb27712a346ce3284003f
scenario003 is going to be a scenario gated in OpenStack Infra.
It was created to be a AIO scenario, for our testers, so let's rename it
to scenario-aio.
In a further iteration, scenario003 will be a scenario used by our CI.
Change-Id: I53852757d013abfae10e5f4afd41ddbb18da3b03
On cloud images, wget is not installed by default. This patch aims to
fix that so we make sure wget is installed anytime.
Change-Id: Ib2b04a55f3fc71ff51ff29bf5d037d87f1b18223
This patch will add the creation of an openrc file
containing the credentials a user needs to use their
OpenStack deployment to the end of the AIO script.
Change-Id: I1353d9e1a3b026f0c6d56d6cfd2f0581866bed90
This script will help newcomers to run this script and deploy a simple
scenario of an OpenStack Cloud with Puppet OpenStack modules.
Change-Id: I559e5e0a0d21a02d04b3d999b77dee23bb38c341