This makes gem binary usage consistent (i.e, r10k) and prevents
encoutering a command not found error.
Change-Id: I3ef01274417cd88403d71af0e6216850d77cc81c
Closes-Bug: #1592113
PUPPET_VERSION is already used by puppetlabs/beaker and we don't want to
overlap with this variable. So let's rename it to PUPPET_MAJ_VERSION to
avoid strange behaviors when running Beaker jobs.
Change-Id: I74be2eec2be53f59af196f37ee348ff6856af8bc
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
Those small typos and non-idiom can lead to unexpected behavior, better
fix them now.
Change-Id: I218ba0f3bba832d0929fb52c21f7e66774da494e
Closes-Bug: #1561539
We need to export PUPPET_BASE_PATH otherwise beaker & unit CI jobs will
fail to copy modules in the right path:
mv /modules/openstack-integration /modules/openstack_integration
Change-Id: I1c99de3f99367fb7677977fee4c5cf08afda5977
This commit puts in place the ability to run
puppet-openstack-integation against Pupept 4 by making release files
and paths dynamic based off an environment variable, PUPPET_VERSION.
Configurability is required because of the way Puppet 4 is installed,
as an all-in-one package known as "PC1" or "puppet-agent" which
includes Ruby, Facter 3, and other dependencies.
Change-Id: Id3af52f4938378a5a620765321cecd547e079660
readlink on OSX does not support the -f option. As an alternative, we
can use pwd -P to resolve the path.
Change-Id: Ibaeadea9685f7a9603198ed1a509176cf70f9b21
Closes-Bug: #1506504