Fix virbr0 elimination on compute nodes

https://review.openstack.org/41319 added some code to remove the
default virbr0 bridge created by libvirt. However, it requires
the libvirtd service to be up, not just installed. Thus, it was
not working as expected.

Change-Id: Idf82db9ede802d9875aab142db596ee544aadd97
Allow alternate locations for Cirros image

When creating the demo environment, the Cirros image was downloaded
from a hardcoded location. This can create issues in environments
placed behind a proxy or isolated.

This patch adds a new config option (CONFIG_PROVISION_DEMO_CIRROS_URL)
where a local file path or remote URL can be specified. Be aware that
it requires a fix to puppet-glance to work
(https://review.openstack.org/132813).

Change-Id: I2e6a3ba9822624d16c63f88c30d24d26d6d0c3e0
Fixes: bz#1147716
Fix swift loopback creation

- Device name for swift::storage::loopback cannot contain undescore unless we
  want to specify metadata.

Change-Id: I5631e4cd79ab2a0fdaf7ad206c7e3f6606266daf
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Merge "Fix swift loopback creation"
Merge "Allow alternate locations for Cirros image"
Set MTU=1400 for GRE and VXLAN tenant networks

On GRE / VXLAN tenant networks, the instance MTU should be lower
than the physical network card MTU to avoid fragmentation.

With this patch, Packstack will detect those cases and set mtu for
instances to 1400 using DHCP. The instance OS should have proper
support for this, e.g. Cirros is known to work starting on version
0.33.

Change-Id: Ibea6a8ee4bf582c10f50e24d9c4bc76ff474ada2
Merge "Set MTU=1400 for GRE and VXLAN tenant networks"
Revert "Configures Heat to use Trusts by default"

- This is managed by the puppet-heat module itself,
  (https://review.openstack.org/126940).

This reverts commit 581a79ed8507a8ffe4388a67060e0b32899d4f86.

Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>

Conflicts:
	packstack/plugins/heat_750.py
	packstack/puppet/templates/heat_trusts.pp
	packstack/puppet/templates/provision_demo.pp
	packstack/puppet/templates/provision_tempest.pp

Change-Id: I61b06f6f2d7de9cbf32061437abef9c5d7860531
Ensure Heat is set up before running provisioning

Change-Id: I54cd53697e24a7fa729e580d410c14e2869328b5
Switch README file to Markdown

- Global reformating
- Add link to the Puppet Style Guide

Change-Id: I7b45bafa79946814d3a44e95651f446b518f58bd
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Introduce Puppet-lint/syntax test into Packstack

- Add puppet-lint and puppet-syntax
- To run puppet-lint, please look at the README.md file.

Change-Id: I4b9e5d0c030b891545bc07f10091d748cdc1482e
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Add workaround for PuppetLint.configuration.ignore_paths

- https://github.com/rodjek/puppet-lint/issues/331

Change-Id: Ic6578b2ffa84f6f3955e49e4279be972ea4a5a96
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Remove Deprecated parameters for keystone::endpoint class

List of deprecated parameters and their replacements:
- public_protocol (replaced by public_url)
- public_address (replaced by public_url)
- public_port (replaced by public_url)
- internal_address (replaced by internal_url)
- internal_port (replaced by internal_url)
- admin_address (replaced by admin_url)
- admin_port (replaced by admin_url)

Change-Id: I9233c2b398bc4d357310c2eb931ffe69f6bdeede
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Merge "Remove Deprecated parameters for keystone::endpoint class"
gre fix