BZ #1043964 - Fix to move neutron setup after db setup.

https://bugzilla.redhat.com/show_bug.cgi?id=1043964

The 'neutron-db-manage upgrade' command was failing on first runs of puppet
agent due to a race condition where the database was not necessarily created
before this command was run.  The order matters, so we have now specified this
more precisely.

(cherry picked from commit 776c4889ef4eb19bfb4a4692050acda6f0ff2dc9)
BZ #1045137 - Ensure physical ports added to ovs bridge on networker.

https://bugzilla.redhat.com/show_bug.cgi?id=1045137

Move configuration of bridge and ports to the bridge_uplinks parameter
of the ::neutron::agents::ovs declaration in networker.pp.

Example value for the ovs_bride_uplinks parameter in networker.pp:
["br-em2:em2","br-p3p1:p3p1"]
(cherry picked from commit 81899980d02040446bc958a2896f9c5f67fc80f1)
BZ #1045132 - l3 external_network_bridge now configurable.

https://bugzilla.redhat.com/show_bug.cgi?id=1045132

$external_network_bridge is used to configure the external_network_bridge
in /etc/neutron/l3_agent.ini .  Set to '' to use a provider
network instead.
(cherry picked from commit 7a7fe553e025dfe2c70b8e283657fb1d63cfdab1)
Enable selinux boolean virt_use_fusefs on compute nodes

See https://bugzilla.redhat.com/show_bug.cgi?id=1015625

(cherry picked from commit 017fbc5eb535d2ceefb315fcb59d23fe4a473830)
BZ#1015625 - fail to attach a volume on glusterfs install because of selinux
https://bugzilla.redhat.com/show_bug.cgi?id=1015625

Set virt_use_fusefs true if selinux is enabled

(cherry picked from commit b10bdaca7ef4ea52cc1b304a45607adef07dbfa8)
BZ #1046120 - Unused parameter bridge_keep_ip in Neutron Networker

https://bugzilla.redhat.com/show_bug.cgi?id=1046120

Removed unused parameter from the networker.pp manifest.

(cherry picked from commit ad50e2b8d331bb4f024bfd5c03f9457a0e67b2fc)
BZ #1049688 - Quickstack manifest parameter renaming.

https://bugzilla.redhat.com/show_bug.cgi?id=1049688

Update some parameter names to be more meaningful.  Remove some unused
parameters.  Remove PRIVATE_/PUBLIC_ foreman_server.sh environment
vars.

(cherry picked from commit f00baed1a4195e2ca3762e0c7bcf0871a3c19121)
BZ #1050182 - remove the Gluster Storage Host Group.

https://bugzilla.redhat.com/show_bug.cgi?id=1050182

Remove the Gluster Storage Host Group -- Foreman is not responsible
for managing gluster back ends.

(cherry picked from commit b14c1642bd125f2802f43fbad508a386e0107877)
BZ #1048922 Package name cannot have array

https://bugzilla.redhat.com/show_bug.cgi?id=1048922

Puppet 3.4 doesn't allow array values for `name` attribute of
`package` resource. We need to specify them one by one.

(cherry picked from commit b93ee0158d8de87591e24a3663ecde5023fad531)
BZ#1047653 Cinder LVM setup broken

Accept gluster backend parameters into lvm_cinder.pp and make sure
that we use str2bool function when testing parameters that are
"boolean strings".

(cherry picked from commit 2a277cf0ab16ce4ae61c8f3f5f996f14a7adf425)
BZ #1053729 - Foreman controller params should end with _host instead of _ip.

https://bugzilla.redhat.com/show_bug.cgi?id=1053729

Rename controller_pub_ip and controller_priv_ip Foreman Host Group
parameters to more agnostic controller_pub_host or
controller_priv_host-- more agnostic because the user may enter a
hostname or an IP address for those values.

(cherry picked from commit de4323082340e4b5476344abbf387b4d11c49f4f)
Enable qemu libvirt_type on kvm compute nodes

For kvm compute nodes, libvirt_type must be set to 'qemu'. When
detected, this sets libvirt_type correctly, only on compute nodes.