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

Select Status

RSS

homebrew (67) Versions 1.2.0

Install Homebrew and includes resources for working with taps and casks

Policyfile
Berkshelf
Knife
cookbook 'homebrew', '= 1.2.0', :supermarket
cookbook 'homebrew', '= 1.2.0'
knife supermarket install homebrew
knife supermarket download homebrew
README
Dependencies
Quality -%

Description

This cookbook installs Homebrew
and replaces MacPorts as the default package provider for the
package resource on OS X systems.

This cookbook is now maintained by Opscode. The original author,
maintainer and copyright holder is Graeme Mathieson. The cookbook
remains licensed under the Apache License version 2.

Original blog post by Graeme

Requirements

Prerequisites

In order for this recipe to work, your userid must own /usr/local.
This is outside the scope of the cookbook because it’s anticipated
that you’ll run the cookbook as your own user, not root and you’d have
to be root to take ownership of the directory. Easiest way to get
started:

sudo chown -R `whoami`:staff /usr/local

Bear in mind that this will take ownership of the entire folder and its
contents, so if you’ve already got stuff in there (eg MySQL owned by a
mysql user) you’ll need to be a touch more careful. This is a
recommendation from the Homebrew

Platform

  • Mac OS X (10.6+)

The only platform supported by Homebrew itself at the time of this
writing is Mac OS X. It should work fine on Server edition as well,
and on platforms that Homebrew supports in the future.

Resources and Providers

package / homebrew_package

This cookbook provides a package provider called homebrew_package
which will install/remove packages using Homebrew. This becomes the
default provider for package if your platform is Mac OS X.

As this extends the built-in package resource/provider in Chef, it has
all the resource attributes and actions available to the package
resource. However, a couple notes:

  • Homebrew itself doesn't have a notion of "upgrade" per se. The "upgrade" action will simply perform an install, and if the Homebrew Formula for the package is newer, it will upgrade.
  • Likewise, Homebrew doesn't have a purge, but the "purge" action will act like "remove".

Examples

package "mysql" do
  action :install
end

homebrew_package "mysql"

package "mysql" do
  provider Chef::Provider::Package::Homebrew
end

homebrew_tap

LWRP for brew tap, a Homebrew command used to add additional formula
repositories. From the brew man page:

tap [tap]
       Tap a new formula repository from GitHub, or list existing taps.

       tap is of the form user/repo, e.g. brew tap homebrew/dupes.

Default action is :tap which enables the repository. Use :untap to
disable a tapped repository.

Examples

homebrew_tap "homebrew/dupes"

homebrew_tap "homebrew/dupes" do
  action :untap
end

Usage

We strongly recommend that you put "recipe[homebrew]" in your node's
run list, to ensure that it is available on the system and that
Homebrew itself gets installed. Putting an explicit dependency in the
metadata will cause the cookbook to be downloaded and the library
loaded, thus resulting in changing the package provider on Mac OS X,
so if you have systems you want to use the default (Mac Ports), they
would be changed to Homebrew.

The default itself ensures that Homebrew is installed and up to date.

License and Author

Author:: Graeme Mathieson (mathie@woss.name)

Copyright:: 2011, Graeme Mathieson

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.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

atom Applicable Versions
azure_pipelines_agent_macos Applicable Versions
bacula-backup Applicable Versions
bazel Applicable Versions
chefdk_bootstrap Applicable Versions
docker Applicable Versions
expect Applicable Versions
filebeat Applicable Versions
foreflight_build_agent Applicable Versions
git Applicable Versions
gnu_parallel Applicable Versions
hekad Applicable Versions
homebrew_packages Applicable Versions
iterm2 Applicable Versions
java Applicable Versions
java-snapshot Applicable Versions
languages Applicable Versions
mac-app-store Applicable Versions
macbase Applicable Versions
macos Applicable Versions
mysql Applicable Versions
nodejs Applicable Versions
omnibus Applicable Versions
omnibus 1.0.0
omnibus 1.0.2
omnibus 1.0.4
omnibus 1.0.6
omnibus 1.0.8
omnibus 1.0.10
omnibus 1.1.0
omnibus 1.2.0
omnibus 1.2.2
omnibus 1.2.4
omnibus 2.0.0
omnibus 2.0.2
omnibus 2.1.0
omnibus 2.1.2
omnibus 2.2.0
omnibus 2.3.0
omnibus 2.3.2
omnibus 2.3.4
omnibus 2.4.0
omnibus 2.4.2
omnibus 2.4.4
omnibus 2.4.6
omnibus 2.4.8
omnibus 2.4.10
omnibus 2.4.12
omnibus 2.4.14
omnibus 2.4.16
omnibus 2.4.18
omnibus 2.5.0
omnibus 2.5.1
omnibus 2.5.2
omnibus 2.5.3
omnibus 2.5.4
omnibus 2.5.5
omnibus 2.6.0
omnibus 2.6.1
omnibus 2.6.2
omnibus 2.6.3
omnibus 2.6.4
omnibus 2.6.5
omnibus 2.6.6
omnibus 2.6.7
omnibus 2.6.8
omnibus 2.6.9
omnibus 2.6.10
omnibus 2.6.11
omnibus 2.6.12
omnibus 2.6.13
omnibus 2.7.0
omnibus 2.7.1
omnibus 2.7.2
omnibus 2.7.4
omnibus 2.7.5
omnibus 2.7.6
omnibus 2.7.7
omnibus 3.0.0
omnibus 3.1.0
omnibus 3.1.1
omnibus 3.1.2
omnibus 3.1.3
omnibus 3.1.4
omnibus 3.2.0
omnibus 3.2.1
omnibus 3.2.2
omnibus 3.2.3
omnibus 3.2.4
omnibus 3.2.5
omnibus 3.2.6
omnibus 3.2.7
omnibus 3.3.0
omnibus 4.0.0
omnibus 4.0.1
omnibus 4.0.2
omnibus 4.1.0
omnibus 4.2.0
omnibus 4.2.1
omnibus 4.2.2
omnibus 4.2.3
omnibus 4.2.4
omnibus 4.2.5
omnibus 4.2.6
omnibus 4.2.7
omnibus 4.2.8
omnibus 4.2.9
omnibus 5.0.0
omnibus 5.0.1
omnibus 5.1.0
omnibus 5.1.1
omnibus 5.1.2
omnibus 5.1.3
omnibus 5.1.4
omnibus 5.1.5
omnibus 5.1.6
omnibus 5.1.7
omnibus 5.2.0
omnibus 5.2.1
omnibus 5.2.2
omnibus 5.3.0
omnibus 5.3.1
omnibus 5.3.2
omnibus 5.3.3
omnibus 5.4.0
omnibus 5.5.0
omnibus 5.6.0
omnibus 5.6.1
omnibus 5.7.0
omnibus 5.7.1
omnibus 5.7.2
omnibus 6.0.0
osquery Applicable Versions
pandoc Applicable Versions
pantry Applicable Versions
reattach-to-user-namespace Applicable Versions
ruby_build Applicable Versions
sanitize Applicable Versions
telegraf Applicable Versions
ut_base Applicable Versions
ut_workstation Applicable Versions
vs_code Applicable Versions
vsts_agent Applicable Versions
vsts_agent_macos Applicable Versions

No quality metric results found