This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
Native packaging enchancements and Crowbar barclamp chef-ectomy [9/25] #68
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
bc-template-glance.json | 103 ++++++++++++
bc-template-glance.schema | 184 ++++++++++++++++++++++
chef/data_bags/crowbar/bc-template-glance.json | 103 ------------
chef/data_bags/crowbar/bc-template-glance.schema | 184 ----------------------
4 files changed, 287 insertions(+), 287 deletions(-)
Crowbar-Pull-ID: 3dc3a7577e4bd35be952fc693dcc5648ace9700f
Crowbar-Release: development