Omnibus import ============== See 'README' for general information on the Baserock Import Tool. NOTE: Omnibus support should be considered 'proof of concept' at this stage. It has driven some useful improvements in the Import Tool, and it has generated morphologies for most of the components used in (which were not then built). The code probably needs a little love if you want to do more than that with it. To use ------ First, clone the Git repository corresponding to the Omnibus project you want to import. For example, if you want to import the Chef Server, clone: You should then run `bundle install --binstubs --path=~/.gem/ruby/2.0.0` in the checkout to make available the various dependent repos and Gems of the project definitions. The extra '--path' flag is needed because currently in Baserock you'll be running as the 'root' user, which Bundler and Gem will take as a sign to install the Gems it installs into /usr. It's not recommended to manually install stuff into /usr in Baserock systems: it makes it harder to reason about their provenance and behaviour, the changes will not persist across system upgrades, and it will probably not be possible in future (even as 'root'). By installing the Gems into your home directory (as would happen if you ran Bundler as non-root) you avoid these issues. Omnibus packaging often includes components which already exist in other Baserock strata. You will need to resolve this manually after running the import tool. If you find that the import is failing to generate a stratum because of errors in some components that you're not going to use anyway, you can use the `--force-stratum-generation` flag to ignore those errors and get on with the integration. Errors you might see -------------------- If you see errors from Bundler itself about missing Gems, such as this one: rubygems.to_chunk failed with code 1: /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find addressable-2.3.6 in any of the sources (Bundler::GemNotFound) from /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/spec_set.rb:85:in `map!' from /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/spec_set.rb:85:in `materialize' from /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/definition.rb:133:in `specs' from /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/definition.rb:178:in `specs_for' from /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/definition.rb:167:in `requested_specs' from /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/environment.rb:18:in `requested_specs' from /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/runtime.rb:13:in `setup' from /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler.rb:120:in `setup' from /usr/lib/ruby/gems/2.0.0/gems/bundler-1.6.2/lib/bundler/setup.rb:17:in `' from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' Try rerunning the Bundler `install` command as described above.