Increase flexibility of stackrc repo config.

 * Offline use of devstack previously required defining individual
   repo overrides.  This change maintains support for individual
   overrides while adding the ability to override GIT_BASE.

Change-Id: I4ca8b8e69c0fb05a7c9cf2fd4643eac2f7643aa9
Remove variable substituion to %NUM% to correctly invoke local command

Referencing %NUM% must be a mistake, because with it networks are not
deleted properly. See other commands within quantum-adv-test.sh as
an example.

Fixes bug #1164018

Change-Id: Ib222d82a1b8187167606b2543bb74c28b8465b5a
Add err()/err_if_not_set()

* err() and err_if_not_set() do error-like reporting without aborting the script
* die_if_not_set() now properly dies
* add is_running() from Grenade

Change-Id: I38b88112415a3c07e35bbc2dc65ad839c4d63fce
Linux Mint support

This patch allows DevStack installation on Linux Mint. Installations
on Linux Mint previously failed since its distribution ID did not
match any of the package installation methods and defaulted to using
rpm packages. Linux Mint is a Ubuntu derivative and such does not have
native support for rpm packages.

This change adds "LinuxMint" to the distribution matching options along
with Debian and Ubuntu.

Change-Id: Ice6a201cabe07373a9c1354699777835addeac53
Fixes: bug #1166422
Set swift3 before s3token in proxy server middleware pipeline

swift3 and s3token middlewares were not set in correct order in
/etc/swift/proxy-server.conf when the swift3 service is enabled
with keystone. swift3 must be set before s3token.

Fixes: bug #1166123
Change-Id: I97c051af95cbdc26ccfe9753c5719394e1875dde
Enable debug logging in q-agt output

when only q-agt is used, without q-svc, typically in a multi-host config, q-agt wasn't logging debug output.
This change enable debug output, as it's done for q-l3, q-dhcp or q-meta agent.

Change-Id: I1f49cf9994fa9cfbaa166dac8d4e713ba99c5674
Fixes: bug #1166775
Merge "Linux Mint support"
Merge "Increase flexibility of stackrc repo config."
Formatting cleanups, doc updates and whatnot

Change-Id: Ica8298353be22f947c8e8a03d8dc29ded9cb26dd
Merge "Add err()/err_if_not_set()"
Make sure custom grep options don't get in the way

Change-Id: I3c8fa21793906d80790c31ed02f585eff35a64a5
link /etc/tgt/stack.d to cinder volumes directory

This creates /etc/tgt/stack.d as a symlink to the cinder volumes
directory and includes it in /etc/tgt/targets.conf in a similar way
to /etc/tgt/conf.d

targets.conf only gets appended to when the symlink is created.
Any old /etc/tgt/conf.d/stack.conf is deleted

Change-Id: Ifb6412f6860ceb28b724644fb9b618638f552102
Fixes: bug #1072121
Merge "Remove variable substituion to %NUM% to correctly invoke local command"
Merge "link /etc/tgt/stack.d to cinder volumes directory"
Fixes running horizon on fedora 18 and above

Fixes bug: 1167066
Summary:

1. Starting with fedora 18 the httpd.conf has
    <Directory />
        AllowOverride none
        Require all denied
    </Directory>
  which requires you to explicitly permit access to web content
  directories in other <Directory> blocks

2. Install nodejs on fedora 18 and above

Change-Id: I487a7a74bad6627d32c1081dcbe48630a704a106
Merge "Make sure custom grep options don't get in the way"
Parameterized configuration variables for PLUMgrid plugin

Fixes bug 1171028

Change-Id: Ie60ef8903001913996e265917c449bdce1e5aae9
Add a generic post-prereq phase

This generic extra phase is handy for fixing up things like python
modules after pip is installed or other distro specific requirements.

Change-Id: I4a68b830cd98c6f93191dac1edd7de2a0381feaa
Skip pip mirrors for RHEL

The RHEL6 version of pip doesn't have support for mirrors, so skip
asking for them.

Change-Id: Iaf2900067bb4b41f88d8fe82ea16b6b53d6bcc60
Add rhel6 as an allowed distro

Add RHEL6 based distributions as a valid install target

Change-Id: I89fb68d18a0d2079493be93b230162679123881d