cookbook 'pantry', '~> 1.0.0'
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.
pantry (8) Versions 1.0.0 Follow5
Chef Pantry is a workstation automation cookbook
cookbook 'pantry', '~> 1.0.0', :supermarket
knife supermarket install pantry
knife supermarket download pantry
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
- Debian Linux
- RHEL Linux
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 thehomebrew::install_casks
recipe, which is done by default in this cookbook'smac_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 thehomebrew::install_formulas
recipe, which is done by default in this cookbook'smac_os_x
recipe. The value should be specified as an Array of formula package names. -
node['homebrew']['taps']
: This attribute is used to install Homebrew Taps, the default method for installing "packages repositories" on OS X with this cookbook. It is used when including thehomebrew::install_taps
recipe, which is done by default in this cookbook'smac_os_x
recipe. The value should be specified as an Array of tap names. -
node['packages']
: This attribute is used to install OS packages on Linux using the native package manager. It is used when including thepackages
recipe, which is done by default in this cookbook's non-OS X recipes (windows
,debian
andrhel
). 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 thewindows
recipe, which is included by default onwindows
platform systems. The value should be specified as an Array of chocolatey package names. -
node['pantry']['repositories']
: This attribute is used to git clone various repositories locally. It is used when including therepositories
recipe, which is done by default inpantry::default
. The value should be specified as a Hash as follows: "repositories": {
"pantry-cookbook": {
"source": "https://github.com/opscode-cookbooks/pantry.git",
"destination": "~/src/cookbooks/pantry"
}
}
- node['pantry']['user']
: This attribute is required when running pantry::repositories
and is the user under which the repository will be cloned.
- node['pantry']['group']
: This attribute is required when running pantry::repositories
and is the group under which the repository will be cloned.
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
. It will also include pantry::repositories
.
repositories
This recipe will run the pantry_repository
resource against node['pantry']['repositories']
.
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
- Author: Joshua Timberman joshua@chef.io
- Author: Jay Mundrawala jmundrawala@chef.io
- Copyright (C) 2014-2015, Chef Software, Inc. legal@chef.io
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 >= 0.0.0 |
build-essential >= 0.0.0 |
chocolatey >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
pantry Cookbook CHANGELOG
This file is used to list changes made in each version of the pantry cookbook.
1.0.0 (2016-09-15)
- Implementation of repository management.
- Fix issue with directory reference
- Pass in user when expanding the directory path
- Update platforms in Test Kitchen [skip-ci]
- Add maintainers files
- Add rakefile for testing
- Exclude FC040
- Cookstyle updates
- Remove version constraints and depend on build-essential
- Require Chef 12.1
v0.2.1
- Make use of
homebrew::install_taps
recipe
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
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC122: Use the build_essential resource instead of the recipe: pantry/recipes/mac_os_x.rb:7
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC122: Use the build_essential resource instead of the recipe: pantry/recipes/mac_os_x.rb:7
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number