Add patch to set lock_path and volumes_dir. We need to set these paths to the
TripleO values, otherwise the default paths from cinder-dist.conf are used. We
can't use the paths from cinder-dist.conf because they will not be created by
os-refresh-config.
Change default swift bind_ports

Change the default bind_ports to match the RDO package defaults
where object-server is on 6200, container-server is on 6201, and
account-server is on 6202.
SELinux: Fix /mnt/state/var/log/keepalived context

The default context mnt_t is incorrect. It should be var_log_t.

Bug: 1381770
Change-Id: I86a79ea1075ea2a6a567a78d628ab8a47f53ddd4
Ensure neutron rootwrap.d symlink is not nested

Before this change, if /etc/neutron/rootwrap.d existed already and
was a dir or a link to a dir, an additional symlink, named rootwrap.d
was created within the rootwrap.d dir, eventually causing the
neutron-rootwrap command to fail and exit with non-zero.

Change-Id: I2f11d7e93ef1445afd1a58e4dd110f7369ec93ab
Add package install support for tuskar

Support installing from packages and source for the tuskar element. Adds
svc-map support for tuskar-api to support the service being named
differently between source and package installs.

Change-Id: I189748f91b17e398d15b91bd1bd6ce2f2de02a73
Add package install support for tuskar-ui

Support installing from packages and source for the tuskar-ui element.
The post-configure.d script is also updated to only use the virtualenv
for Horizon if the $HORIZON_VENV_DIR environment variable is defined.

Change-Id: If42ca22fb173df0b35155ce760b94c1c6f2f9d28
Make rdo-release install safe

Like the epel element, this may be applied to a system that already
has rdo-release installed.  If that happens yum exits non-zero
because for some reason it considers "nothing to do" to be an error.

This simply checks for the existence of the rdo-release rpm before
attempting to install it.

Change-Id: I5867ca074cc1afa843ef1e0f85c1c9b6f2deb403
Change how SELinux policies are compiled

To take advantage of macros, the custom policies are now compiled
using make. To use macros, selinux-policy-devel needs to be
installed.

Change-Id: I803291c01af709f39edcbf2f366808443233d7b3
Simplify keepalived custom policy

Instead of allowing access to individual types to keepalived, we
now grant keepalived access to read the processes for all types.

This change was suggested in
https://bugzilla.redhat.com/show_bug.cgi?id=1151647

This also makes the custom policy work on both Fedora and RHEL.
The previous custom policy would not install on RHEL 7.0 because
some types were not defined in 7.0.

Change-Id: Ic7adbd14ef27959f0a991127b5213384c9e46be3
Combine policy installs into one operation

Installing multiple SELinux custom policies in a single operation
saves time.

Change-Id: I187fb19c02b4de1c1aed7e1ba9122296af08fba8
Make 101-tuskar-ui re-runnable

The checks that are added are:
* if a Tuskar overcloud plan already exists, skip the tuskar API
  calls
* do not update the openstack_dashboard settings if the specified
  settings are already present

Change-Id: Idedfd2dea2a823245e749ae27e40ae4e29639726
Copy static files for packaged installs

Packaged installs result in tuskar-ui compressed static files being
placed in /var/www/horizon/static/dashboard, alongside horizon static
files.  We need to copy them over to
/usr/share/openstack-dashboard/static/dashboard

Change-Id: I369cba710c01ee09584d6f3de1c9aa7195dfcb69
Increase rabbitmq timeout

This change increases the timeout waiting for rabbitmq from 3 to 60
seconds. I've observed some instances of it taking 20-30 seconds before,
so I think we need to be more generous here.

Change-Id: I908eb75790d8b90410ed1b3fa018aec9630633d3