crowbar/crowbar — pull request #1714 by VictorLowther (2013-02-20 20:32:09+00:00)
Title: Native packaging enchancements and Crowbar barclamp chef-ectomy [25/25]

This pull request series does the following:

* Rework barclamp_install.rb to rip out all the legacy code and be
easier to edit in the future.
* Change the packaged layout of barclamps to avoid making duplicate
copies of files we do not need to. Specifically, we no longer move
the Chef files out of /opt/dell/barclamps, and the bc-template-*
files are no longer stored as CHef data bags. The install routines
and the Crowbar web framework have been reworked to recognize these
changes.
* Change the native packaging routines to use the newly-added --root
flag to barclamp_install.rb. This leaves barclamp_install.rb as
the authoritative source of what an installed barclamp looks like.
* Remove all chef dependencies from the Crowbar barclamp, with the
exception of the chef gems for now. The crowbar setup .install
scripts are responsible for bringing up the Crowbar webserver, and
there is no more crowbar cookbook.
* Migrate all of the Chef cookbooks and roles that were in the
Crowbar barclamp into the Chef barclamps.
* Use the opscode omniinstall versions of chef-server and chef-client
on Ubuntu and Redhat. This makes bringup of the chef server much
simpler, and removes our last dependency on ruby 1.8.7 on Ubuntu.
This also updates the chef server we run to be chef 11.
* Modify the dependencies to only want the ruby1.9.1 packages on
Ubuntu. The crowbar webserver now runs on ruby 1.9.3.
* Update all the cookbooks in development/master to load onto a chef
11 server.

build_lib.sh | 1 +
centos-6.2-extra/install | 7 +-
dev | 66 +-
packaging/deb/debian/rules.erb | 12 +-
packaging/make-pkg | 32 +-
packaging/rpm/crowbar-barclamp.spec.erb | 22 +-
redhat-6.2-extra/install | 8 +-
.../development/master/extra/barclamp_create.rb | 131 ++--
.../development/master/extra/barclamp_install.rb | 376 +++++++++---
.../development/master/extra/barclamp_mgmt_lib.rb | 629 --------------------
.../development/master/extra/barclamp_uninstall.rb | 46 --
releases/development/master/extra/install-chef.sh | 60 +-
.../master/extra/install-crowbar-native.sh | 73 +--
ubuntu-common/install | 7 +-
14 files changed, 491 insertions(+), 979 deletions(-)

Crowbar-Pull-ID: 3dc3a7577e4bd35be952fc693dcc5648ace9700f

Crowbar-Release: development