crowbar/crowbar — pull request #1697 by VictorLowther (2013-02-13 16:21:34+00:00)
Title: First pass at getting native package based installs working on Uubntu and Redhat. [6/6]

This is a nonfunctional attempt at getting and admin node installed
using OS native packages for Ubuntu and Debian. The codepaths for the
traditional Dell build and admin node codepaths have the following
changes:

1: Crowbar package cache generation for the admin node was moved to
the post-install phase of the relavent OS deploys for the admin node.
This was done so that the post-install script will have the tools
necessary to generate repository metadata for the native barclamp
packages.

2: The crowbar framework no longer requires a declaration for
the machine-install user in the default proposal for the Crowbar
barclamp. Instead, it will create the machine-install user with a
random password when the crowbar barclamp is set up. The login
information for the machine-install user will continue to be stored in
/etc/crowbar.install.key.

3: The DNS barclamp will detect when you are deploying with an
unmodified default proposal and attempt to rewrite the domain
information to match the current state of the admin node.

4: The provisioner no longer needs to be told what the default OS is.
It will infer it based on the OS the admin node is using if not told
via proposal.

These changes help by allowing us to deploy an admin node without
having to hack up proposal templates with sed as part of the install
process.

redhat-common/chef_install_lib.sh | 15 +-
releases/development/master/crowbar.json | 3 +-
releases/development/master/extra/install-chef.sh | 26 ++-
.../master/extra/install-crowbar-native.sh | 203 ++++++++++++++++++++
.../development/master/extra/redhat-common-post.sh | 51 +++--
test_lib.sh | 8 +-
ubuntu-common/chef_install_lib.sh | 16 --
ubuntu-common/common_install.sh | 28 ++-
8 files changed, 287 insertions(+), 63 deletions(-)

Crowbar-Pull-ID: 5a61c0feb8bea25dbf1b92b356a5c55f23cd28ba

Crowbar-Release: development