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

The pantry cookbook has been deprecated

Author provided reason for deprecation:

The pantry cookbook has been deprecated and is no longer being maintained by its authors. Use of the pantry cookbook is no longer recommended.

RSS

pantry (8) Versions 0.2.0

Chef Pantry is a workstation automation cookbook

Policyfile
Berkshelf
Knife
cookbook 'pantry', '= 0.2.0', :supermarket
cookbook 'pantry', '= 0.2.0'
knife supermarket install pantry
knife supermarket download pantry
README
Dependencies
Changelog
Quality 0%

pantry Cookbook

Pantry is a workstation automation cookbook and cookbook framework for Chef. The intention is that this cookbook handles common annoyances and holds primitives usable for other workstation automation cookbooks to take over. For example, features not yet present in homebrew or chocolatey cookbooks may be added here.

This cookbook is used as part of the Pantry Chef Repository, and that repository is the primary entry point into using this cookbook.

There is another known project using the "pantry" name called Ironfan Pantry. This is not that project, nor related to that project.

Requirements

  • ChefDK. Use ChefDK as the Ruby install. The pantry script in the Pantry Chef Repository will make sure ChefDK is installed (or upgraded).

Platform:

  • OS X 10.9, 10.10
  • Windows

Because OS X is not readily available and not redistributable as a base box for Vagrant/VMware Fusion, older versions of OS X will not be supported as it is not easily tested using test kitchen.

Windows is known to work, but this cookbook does not have test kitchen coverage until test kitchen itself fully supports Windows.

Future (planned): Linux (Debian and RHEL families). See Bugs, below.

Cookbooks:

Attributes

  • node['homebrew']['casks']: This attribute is used to install Homebrew Casks, the default method for installing OS X Applications with this cookbook. It is used when including the homebrew::install_casks recipe, which is done by default in this cookbook's mac_os_x recipe. The value should be specified as an Array of cask names.
  • node['homebrew']['formulas']: This attribute is used to install Homebrew Formulas, the default method for installing "packages" on OS X with this cookbook. It is used when including the homebrew::install_formulas recipe, which is done by default in this cookbook's mac_os_x recipe. The value should be specified as an Array of formula package names.
  • node['packages']: This attribute is used to install OS packages on Linux using the native package manager. It is used when including the packages recipe, which is done by default in this cookbook's non-OS X recipes (windows, debian and rhel). The value should be specified as an Array of package names that are available from the distribution's package repositories.
  • node['chocolatey']['packages']: This attribute is used to install Chocolatey packages, the recommended method for installing "packages" on Windows with this cookbook. It is used in the windows recipe, which is included by default on windows platform systems. The value should be specified as an Array of chocolatey package names.

Note Linux platforms are not officially supported by Pantry yet and things may work with or without modification.

Recipes

default

This recipe will include the node's platform-family recipe. For example, mac_os_x.

Bugs

For issues with this cookbook specifically, use this repository.

For issues with the pantry project as a whole, use the pantry-chef-repo.

License and Author

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

homebrew ~> 1.11
chocolatey ~> 0.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

v0.2.0

  • Initial Windows support (Thanks Jay!)
  • Remove management of homebrew-cask directories on OS X, this is delegated to homebrew cookbook v1.11.0
  • Update dependency on homebrew cookbook to version 1.11.0.
  • Remove build-essential dependency, that is a dependency of homebrew, and we want to avoid potential version conflicts.

v0.1.3

  • Include build-essential and homebrew recipes in mac_os_x recipe (#4)

v0.1.2

  • Remove plist installation and plugin loading

v0.1.1

  • Ensure /Library/Caches has correct permissions for homebrew cask.
  • Adds testing for OS X 10.10.
  • First public release to supermarket.

v0.0.2

  • Doc update release

v0.0.1

  • Initial release

Foodcritic Metric
            

0.2.0 failed this metric

FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/d17f0e95d375c01d44a52197/pantry/recipes/mac_os_x.rb:7