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

chef/cookbooks/crowbar/recipes/default.rb | 21 --------------------
chef/data_bags/crowbar/bc-template-crowbar.json | 3 +--
crowbar.yml | 15 +++++++++++---
crowbar_framework/Gemfile | 2 +-
.../controllers/scaffolds/interfaces_controller.rb | 19 ------------------
.../scaffolds/ip_addresses_controller.rb | 19 ------------------
crowbar_framework/app/models/barclamp.rb | 14 ++++++++++++-
crowbar_framework/app/models/user.rb | 2 +-
crowbar_framework/config/initializers/devise.rb | 2 +-
crowbar_framework/crowbar.pill | 6 +++---
crowbar_framework/test/unit/user_model_test.rb | 2 +-
setup/00-make-machine-key.install | 5 +++++
setup/01-crowbar-rake-tasks.install | 21 +++++++++-----------
13 files changed, 47 insertions(+), 84 deletions(-)

Crowbar-Pull-ID: 5a61c0feb8bea25dbf1b92b356a5c55f23cd28ba

Crowbar-Release: development