dellcloudedge/barclamp-provisioner — pull request #65 by VictorLowther (2012-08-06 14:33:03+00:00)
Title: Forward-port execute state changes from Fred, and add hetrogenous OS support. [2/7]

This pull request forward-ports the execute state changes from Fred,
and adds basic support for running a Crowbar cluster with nodes
running more than one operating system.

The execute state changes modify the provisioner so that it will no
longer try to allow PXE or UEFI network booting when a node is in
execute state -- instead of trying to PXE or UEFI boot and being
directed to boot off the local hard disk, the network PXE or UEFI boot
will just fail and fall through to booting off the hard drive.

See README.heterogenous-os-support for details on running a mixed
Crowbar cluster. Support for this is still rather rudimentary, and it
is intended as more of a development tool than a production tool for
now.

bin/crowbar_provisioner | 60 ++++++++++++++++++++
chef/cookbooks/dhcp/providers/subnet.rb | 9 ++-
chef/cookbooks/dhcp/resources/subnet.rb | 6 +-
.../dhcp/templates/default/dhcpd.conf.erb | 6 +-
.../cookbooks/dhcp/templates/default/host.conf.erb | 2 +-
.../dhcp/templates/default/subnet.conf.erb | 29 +++++-----
chef/cookbooks/provisioner/recipes/dhcp_update.rb | 22 ++++---
.../provisioner/recipes/setup_base_images.rb | 2 +
chef/cookbooks/provisioner/recipes/update_nodes.rb | 19 ++++++-
.../provisioner/templates/default/autoyast.xml.erb | 34 -----------
.../provisioner/templates/default/compute.ks.erb | 2 -
.../templates/default/crowbar_join.redhat.sh.erb | 5 +-
.../templates/default/crowbar_join.suse.sh.erb | 5 +-
.../templates/default/crowbar_join.ubuntu.sh.erb | 5 +-
.../templates/default/net-post-install.sh.erb | 2 -
.../app/controllers/provisioner_controller.rb | 34 +++++++++++
.../app/models/provisioner_service.rb | 26 +++------
17 files changed, 169 insertions(+), 99 deletions(-)