crowbar/barclamp-provisioner — pull request #251 by VictorLowther (2014-01-16 15:23:35+00:00)
Title: Allow the provisioner to handle building Sledgehammer. [1/3]

This pull request series allows the Crowbar build system to let the
provisioner handle building Sledgehammer instead of forcing the
top-level build machinery to have sole responsibility for building
it. This makes it possible for releases to have their own versions of
Sledgehammer instead of forcing all releases to assume they are
talking to the same Sledgehammer image.

The first use of this functionality is also included in this pull
request, which changes how Sledgehammer operates for CB 2.0:
* Remove some unneeded bundled packages (Chef and friends,
specifically)
* Remove our reliance on NFS.
* Change the default password for the root user on Sledgehammer to "crowbar"

build.sh | 14 +-
build_sledgehammer.sh | 237 +++++++++++++++++++++
build_sledgehammer_lib.sh | 88 ++++++++
.../provisioner/recipes/setup_base_images.rb | 54 ++---
chef/cookbooks/provisioner/recipes/update_nodes.rb | 22 +-
.../provisioner/templates/default/control.sh.erb | 230 +-------------------
crowbar.yml | 2 +
.../models/barclamp_provisioner/dhcp_database.rb | 2 -
sledgehammer-common/build.expect | 10 +
sledgehammer-common/dhclient.conf | 12 ++
sledgehammer-common/sshd_config | 14 ++
sledgehammer-common/start-up.sh | 189 ++++++++++++++++
sledgehammer.ks | 131 ++++++++++++
13 files changed, 729 insertions(+), 276 deletions(-)

Crowbar-Pull-ID: 1ec7113e8c740a01d2d6b4b05f18567143c353b1

Crowbar-Release: development