Fix script that installs os-refresh-config scripts

Was missing executable bits

Change-Id: Idcb984e44f4b45d78c59a45eb0d8d43457c788c9
Correctly translate all branches/tags/shas:

The code which raises an error if two elements try
to install different versions of the same git repo
currently works correctly for SHAs, or if a branch
is specified first, followed by a SHA.

However it fails if two branches are specified, because
the shallow clone does not fetch all branch heads.

This change correctly handles any combination of
SHAs/branch-heads/tags.

Change-Id: I501e94150ddeb41b79588816576a5d7a06fa92aa
Switch to using the incubator-bootstrap tree.

Incubator is having dangerous scripts removed from it.

Change-Id: I5567b9b89eeed4dbf124186a84a7d890eefc87ef
Fix os-refresh-config failing without scripts.

It is valid to request os-refresh-config without putting any scripts in
the element root. This fixes failing builds of heat-cfntools.

Change-Id: I4f70b33e453399ff5baa48919557995a6eb27520
Install os-config-applier from stackforge repo.

Change-Id: Ic383750856e23957fe6bd0ee65767efa26021028
remove unnecessary '/usr/local/bin' from install.d.

Change-Id: Idda511dbf26c1562d8993bc5bbda6756ce796546
remove use-config-templates from cinder-config:

use-config-templates has been deprecated, and must
not be used by the cinder element.

This change relies on os-refresh-config instead.

Change-Id: Ie8594fa99d05032fa0e7a425a9dd278910b80cab
TO PROPOSE: Touch a first-boot.status file:

After running first-boots scripts, both to indicate
that the scripts have completed, and also to record
the exit status.

This is useful for automated testing:
  - tests can wait until first-boot scripts have
    completed before commencing testing
  - tests can abort further testing if first-boot
    scripts have failed.

Change-Id: Idec63de858c15def8c621056232aad45eab225e8
DO NOT MERGE: tim element

Change-Id: I2d8927a391306b21cac0a913153dbd3fc3c4ace4
Add a horizon element.

Change-Id: Ie585a7ea63ba5b5b8b064df738e9616827e913fa
WIP: nova-virt element

Change-Id: I37eef2d806c0c773e14bb868ea5ec8cfd262e228
Replace glance-api+glance-reg elements with glance:

'glance' element now results in a properly-configured,
working glance service on first boot.

While glance-api and glance-reg may need to be broken
out again in the future, the intention now is to focus
on a working service for an end-to-end PoC.

Change-Id: I4fb1cd5ad6defef5a5c4fddfded46d51e8097b5a
Add a quantum element.

Change-Id: I1008dcbb4e0a6c4cc25f4cc11a90fbc265ab2fdd
Add a nova-baremetal element.

Change-Id: I59718a0b329e6adc59097492638cf02c76162c0a
Run all openstack services in virtualenvs:

Python package dependency conflicts have been observed
to occur for certain combinations of services at certain
revision.

Running all services in virtualenvs removes the issue.

Change-Id: I100817569b43a5af3427b0ae20cebdc7d55d03a5
remove database-initialization from openstack-db:

Database initialization is different for bootstrap node,
vs. first baremetal database node, so database init,
should happen outside the openstack-db element.

Change-Id: I25dcd2e8e5ffa1a11128785a73f6a29c49e6f174
Add 'boot-elements' script:

A script which accepts as arguments a list of elements,
and builds an image and boots it with virsh.

Change-Id: Id9e5174e2521143ea9a5aee186ff76b73d1b39ec
ensure sshd is correctly configured for ubuntu images.

Change-Id: Icec91637ca9040f18e5b551251ddc249b3bc6b14
Add a bootstrap element:

The bootstrap element is a self-contained, baremetal openstack.
Upon first boot, it will initialize itself with default keystone
users, nova flavors, etc.

Change-Id: Ib0c411627154a3d666f74513c6b8edfbfbf6c07e