crowbar/barclamp-chef — pull request #16 by VictorLowther (2013-02-13 16:21:09+00:00)
Title: First pass at getting native package based installs working on Uubntu and Redhat. [4/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.

setup/01-bringup-chef.install | 129 ++++++++++++++++++------------------
setup/03-create-admin-role.install | 44 +++++++++---
2 files changed, 100 insertions(+), 73 deletions(-)

Crowbar-Pull-ID: 5a61c0feb8bea25dbf1b92b356a5c55f23cd28ba

Crowbar-Release: development