Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

omnibus (97) Versions 2.4.0

Prepares a machine to be an Omnibus builder.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'omnibus', '= 2.4.0'
cookbook 'omnibus', '= 2.4.0', :supermarket
knife cookbook site install omnibus
knife cookbook site download omnibus
README
Dependencies
Changelog
Quality

omnibus Cookbook

Build Status

Prepares a machine to be an Omnibus builder.

This project is managed by the CHEF Release Engineering team. For more information on the Release Engineering team's contribution, triage, and release process, please consult the CHEF Release Engineering OSS Management Guide.

Requirements

This cookbook requires Chef 11.0.0+.

For a full list of supported platforms and external cookbook requirements, please see the metadata.rb file at the root of the cookbook.

Recipes

The default recipe is the main entrypoint for the cookbook and does the following:

  • Ensures all required Omnibus-related directories are created and owned by the build user.
  • Ensures a sane build tool-chain is installed and configured (using the build-essential cookbook)
  • Ensures git is installed (using the git cookbook)
  • Includes a platform-specific recipe to apply additional tweaks as appropriate.

All other recipes should be treated as "private" and are not meant to be used individually. They only exist to support the default recipe.

Attributes

Attribute Default Description
build_user omnibus The user to perform the Omnibus build
install_dir /opt/omnibus The directory to install Omnibus
cache_dir /var/cache/omnibus The cache directory for Omnibus

Usage

Include the omnibus::default recipe in your node's run list and override the cookbook's default attributes as desired. At the very least you will want to override node['omnibus']['install_dir'] to match the installation directory of your Omnibus project.

Testing

You can run the tests in this cookbook using Rake:

rake integration  # Run Test Kitchen integration tests
rake style        # Run all style checks
rake style:chef   # Lint Chef cookbooks
rake style:ruby   # Run Ruby style checks
rake travis:ci    # Run tests on Travis

License & Authors

Copyright 2012-2014, Chef Software, Inc. (<legal@getchef.com>)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

omnibus Cookbook CHANGELOG

This file is used to list changes made in each version of the omnibus cookbook.

v2.4.0 (2014-10-07)

Feature

  • FreeBSD 10 support
  • RHEL 7 support
  • Ubuntu 14.04 support

Improvement

  • Update integration tests to ServerSpec 2
  • Remove hard dependency on yum-epel cookbook
  • RPM signing is now managed from Omnibus

v2.3.4 (2014-09-15)

Bug fixes

  • Create environment scripts last.

Improvement

  • Add some additional elements to PATH on Windows systems.
  • Print gcc and make versions in load-omnibus-toolchain.bat.

v2.3.2 (2014-09-05)

Improvement

  • Install fakeroot and rpm-build packages on RHEL-based systems

v2.3.0 (2014-08-08)

Feature

  • SUSE support

Improvement

  • Install fakeroot and devscripts packages on Debian-based systems

v2.2.0 (2014-06-19)

Improvement

  • Fix the idempotency check for chruby
  • Set SELinux to permissive
  • Install rsync
  • Update Chef Sugar to v2.0.0

v2.1.2 (2014-06-12)

Improvement

  • Upgrade to ChefSpec 4
  • Use the maximum number of builders when compiling from source

Bug fixes

  • Check /usr/local/bin/bash when checking if Bash is installed
  • Bump default Ruby version to 2.1.2 to fix readline issues

v2.1.0 (2014-05-20)

Feature

  • Platform-specific scripts to laod omnibus toolchain/environment
  • Deploy sign-rpm script on RHEL platform family

Improvement

  • Add proper support for Windows
  • Add a group for the build user

v2.0.2 (2014-04-07)

  • Fix memory leak in string concatenation

v2.0.0

Improvement

  • Add support for Mac OS X
  • Update Rubocop
  • Update to Berkshelf 3
  • Reduce number of dependencies on community cookbooks
  • Packaged custom ChefSpec matchers
  • Added checksum verifications for installing remote packages
  • Support multiple rubies with ruby-install and chruby
  • Ensure a consistent version of bash everywhere by compiling from source
  • Improved test suite and coverage
  • Use a consistent version of git by compiling from source

Breaking

  • Dropped support for smartos
  • Dropped support for solaris2

v1.2.4

Improvement

  • Pessimistically lock deps to MAJOR.MINOR
  • Update to git cookbook ~> 3.0
  • Switch to using the yum-epel cookbook

v1.2.2

Improvement

  • Change default Ruby to 1.9.3-p484 (addresses [CVE-2013-4164])
  • Refactor recipe to install Ruby on Windows. Main change is using *.7zip package instead of *.msi.
  • Update .kitchen.yml for final 1.0 format.

v1.2.0

Feature

  • Install Ruby using rbenv

Improvement

  • Add serverspec integration test coverage
  • Add Foodcritic and Rubocop linting support
  • Add Travis CI support
  • Add FreeBSD to .kitchen.yml

v1.1.0

Feature

  • Add ccache support for faster builds.

v1.0.10

Bug

  • COOK-3178 - Fix order of git installation on FreeBSD

v1.0.8

  • [COOK-3170] Linking make to gmake breaks the package provider on FreeBSD

v1.0.6

  • [CHEF-3151] Fix regression in /tmp/portsnap call

v1.0.4

  • [CHEF-3151] Don't extract ports every time in omnibus::freebsd

v1.0.2

  • [CHEF-2576] add support for SmartOS
  • [CHEF-4141] Initial Freebsd support for omnibus

v1.0.0

  • Initial release!

Foodcritic Metric
            

2.4.0 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/347f59615aee70b9892c0f01/omnibus/libraries/helper.rb:44
FC002: Avoid string interpolation where not required: /tmp/cook/347f59615aee70b9892c0f01/omnibus/libraries/ruby_gem.rb:86