6 Commits

Author SHA1 Message Date
Alex Schultz
20730feff0 Add a function for generating action headers
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
2016-04-14 14:57:22 -06:00
Sofer Athlan-Guyot
53eb3a966d Fix bug and non-idiom in bash scripts.
Those small typos and non-idiom can lead to unexpected behavior, better
fix them now.

Change-Id: I218ba0f3bba832d0929fb52c21f7e66774da494e
Closes-Bug: #1561539
2016-03-24 14:39:05 +01:00
Emilien Macchi
cf864be1bc install_modules: export PUPPET_BASE_PATH
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
2016-03-22 21:31:34 -04:00
Cody Herriges
8d1005bc16 Round 1 of Puppet 4 support
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
2016-03-21 12:41:16 -07:00
Alex Schultz
ba8ee11132 Fix scripts to be OSX compatible
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
2015-10-15 10:01:17 -05:00
Emilien Macchi
151b40ba00 Create install_modules_unit.sh
Create install_modules_unit.sh that will install Puppet modules needed
to run unit tests.

Change-Id: Ia0f19b08d164442ca0fdb9d40fe3820c94e472d7
2015-10-06 15:58:09 +00:00