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
Use Percona Packages for Ubuntu and Debian

Adjust the install of Percona XtraDB Cluster to use Percona Packages
instead of a Percona tarball for Ubuntu and Debian.

This pulls the packages in from the Ubuntu repository. The minimum requirement
for the Percona packages is trusty.

This element currently will not work on Fedora and checks for it but Fedora
uses the Mariadb element to provide a MySQL HA solution instead.

Change-Id: Ie13bf0f7a972ed7f69623c9a661065b46441c3e9
Add SSL PKI properties for keystone

To implement the SSL PKI spec we need to use property names that can be
generalized to all services. Adding new properties to support this for
the keystone ssl cert and cert key, while still supporting the old
properties for backwards compatibility.

Change-Id: Id1b8d8ff6d55d74f38b19d89f76001f374c55393
Migrates from map-services to svc-map

This patch migrates the check_mk-agent element from map-services
to svc-map by adding a svc-map file and adding the -a option to
os-svc-enable.

Change-Id: If61fa0fdfb4ba031c54b54ad4267f12da9bca903
Migrate from map-services to svc-map

This patch migrates the collectl element from map-services to
svc-map by adding the -a option to os-svc-enable and adding a
svc-map file.

Change-Id: I13ad6055ebfe46d25dc1bf598eaabafb6ac6bb5a
Migrates corosync element to svc-map

This patch migrates the corosync element from map-services to
svc-map by adding a svc-map file and the -a option to os-svc-enable.

Change-Id: I2081a945375fe0b8a72de3396b0d862f72b50928
Migrate geard to svc-map

This patch migrates the geard element from map-services to svc-map
by adding the -a option to appropriate os-svc-* calls and adding
a svc-map file.

Change-Id: I55c7dbd0aefbb075a0a0d84b5e0ec057834bde19
systemd: always use /lib/systemd

Debian and Ubuntu use /lib/systemd whereas Fedora usr /usr/lib/systemd as the
default system unit directory. This already leads to conflict when the
debian-systemd is used.

Fedora provides a symbolic link between /lib/systemd and /usr/lib/systemd
to also support /lib/systemd directory. With this patch, we use /lib/systemd
everywhere.

This patch supersedes I413a92284e6a79e7fcdde99c5138bc3ce8e85e80.

Change-Id: I459f7514ab35082d31607968252a9005fa25de2a
See: https://bugs.debian.org/719634
Add missing packages to tempest element

Attempts to use this element failed due to missing the
following packages:
libssl-dev libffi-dev

This patch adds the packages to the element, including
pkg-map installs and map files.

Also changing shell called in init.d/51-tempest to be /bin/bash.

Change-Id: I6859e4309cc73127ac389de70c829ac59afcfd91
Closes-Bug: #1379047
Merge "Add SSL PKI properties for keystone"
Merge "Migrates corosync element to svc-map"
Merge "Migrate from map-services to svc-map"
Merge "Use Percona Packages for Ubuntu and Debian"
Merge "SELinux: Fix /mnt/state/var/log/keepalived context"
Merge "Add missing packages to tempest element"
Merge "Migrate geard to svc-map"
Merge "Migrates from map-services to svc-map"
Merge "systemd: always use /lib/systemd"