Change repo to version for ruby-scl template

Change-Id: I1afd99b14d7af2b07aab8ef81b4ce1437c9cbd2e
Fix package name (openstack-packstack)

Change-Id: Ib39ef36a5cb7308f802f2c18973f3468aa2db9d9
settings.yml generation script

- run.sh: fix parsing args
- settings.py: fix tempest settings generation
- Adds test to test run.sh
- run.sh: fix collect_logs: failure when REMOTE_USER is not set
- test_run tests aio-rhel7
- run.sh: properly parse args, respect TAGS and SKIP_TAGS
- Remove Foreman from the add hosts task
- (cherry picked from commit 040baa227d9a00cd5ef498a8d5d9beeb0d57f8bf)
- Change pre to post in the foreman playbook
- (cherry picked from commit 5ed1d2c91fca1c3e81378b7620d748f476ac5f6f)
- settings: do not store tags and skip tags
- Ansible is broken is tags and skip tags are stored as
- variables. Probably reserved!
- run.sh: show settings files

- settings.py rewrite using CRUD functions

  Settings class to hold and handle the settings
  KeyPath class and keypaths (strings of keys separated by a dot)
  All configuration settings can be now addressed using a keypath.

  Order of the operations and defaults:
  job defaults are loaded from build/defaults.yml and tempest/defaults.yml
  The build parameters are loaded from
  - job name (is split into basic components and assigned to config
    variables)
  - site/<site>.yml
  - build/<variant>.yml
  - tempest/<testsuite>.yml

  A parameter can be overridden using four value sources, in order of
  ascending priority:
  - existent setting addressed via keypath
  - environment variable
  - cli command argument (when available)
  - generic CRUD function (--{update,set,delete,create}-variable)

  More than one generic CRUD function command line argument is allowed,

  CAVEATS
  - keys in keypaths cannot contain dots ".". When a dot is needed, a colon
  should be used instead (Ex "6:5" instead of "6.5")
  - numeric keys in keypaths during "create,set" are interpreted as list
  index and a list will be created

- improved documentation
- Adds commented sample settings variable source files
- fixes principal parameters from job-name
- fixes get_values functions
- fixes tempest branch
- improved logging
- new settings generation is optional and must be activated with
  --use-python-generator
- fixed generic variable handling
- prevent password from showing when printing settings file
- execute foreman jobs

Change-Id: I79f22a41c0d5462ad6fc8efff9193fa7a692d9a3
Add snapshot function and its conditional execution

Change-Id: Ib35b11d0ce26678a09b7b3c17360345c85ab763e
Change logic of ruby SCL repo enablement

If the product is RHOS and the release is Havana, do not enable the Ruby
SCL repo. If it is anything else, we need the repo. Also, only enable if
the distribution is RHEL.

Change-Id: I4387d8e3b6813f08af3212c9e7334fc4a2cd51ca
echo selinux denials out to the console after a run

* use tag provision, we should always check for selinux denials
* using tags is not ideal here

Change-Id: I20e81f78b3d87c3e11045647fa37dafb98c5b5b1
Add workaround for glance utf8 issue in foreman installs

Change-Id: I6597b07706edb41e0031f2ef78083570b7ba8c61
common: adds yum repolist handler

Change-Id: I303fae53cbc489e198b2b5bf2c87c867244d157f
tempest: adds tempest/rpm role

Change-Id: Ic22e19d8709e64fd03f4041e8e183f122e3a3ee6
tempest/run: source venv only if it is present

Change-Id: Ibb15c751861b9e9e34b8cb970c9b0956a76b83bf
tempest/setup: fix tempest rpm installation

Change-Id: I811f2098a26e20dba08a4519fd00a273a47d1582
tempest: renames rpm to openstack-tempest

Change-Id: Icc75aa180c5ea4c5bcc9e91dedd21d05ebe8fc44
tempest: adapt to new tempest rpm

Change-Id: I048707d7be50e55e2ce251d85389a27e172e1eab