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


pacman (8) Versions 1.2.0

Updates package list for pacman and has LWRP for pacman groups

cookbook 'pacman', '~> 1.2.0'
cookbook 'pacman', '~> 1.2.0', :supermarket
knife supermarket install pacman
knife supermarket download pacman
Quality 50%

CircleCI GitHub tag (latest SemVer) Chef cookbook


Refreshes the pacman package cache from the FTP servers and provides LWRPs related to pacman


Platform: ArchLinux. Pacman is not relevant on other platforms.



Use the pacman_group resource to install or remove pacman package groups. Note that at this time the LWRP will check if the group is installed but doesn't do a lot of error checking or handling. File a ticket on the COOK project at for improvements and feature requests.

The options parameter can be used to pass arbitrary options to the pacman command.


Use the pacman_aur resource to install packages from ArchLinux's AUR repository.


  • :build - Builds the package.
  • :install - Installs the built package.


  • version - hardcode a version
  • builddir - specify an alternate build directory, defaults to Chef::Config[:file_cache_path]/builds.
  • options - pass arbitrary options to the pacman command.
  • pkgbuild_src - whether to use an included PKGBUILD file, put the PKGBUILD file in in the files/default directory.
  • patches - array of patch names, as files in files/default that should be applied for the package.


Include recipe[pacman] early in the run list, preferably first, to ensure that the package caches are updated before trying to install new packages.


Author:: Tomoya Kabe ( Former Author:: Joshua Timberman (

Maintainer:: Tomoya Kabe (

Copyright:: Tomoya Kabe ( Copyright:: Opscode, Inc. (

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

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.


  • Added --noconfirm to to makepkg runs to not prompt on dependencies (thanks dvolker)



  • Added package namespaces to AUR package installation



  • [COOK-2971]: pacman cookbook has foodcritic failure


  • [COOK-1018] - aur provider fails when a package is of 'any' cpu type.

Collaborator Number Metric

1.2.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.2.0 passed this metric

Foodcritic Metric

1.2.0 failed this metric

FC066: Ensure chef_version is set in metadata: pacman/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: pacman/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

1.2.0 passed this metric

Publish Metric

1.2.0 passed this metric

Supported Platforms Metric

1.2.0 failed this metric

pacman should declare what platform(s) it supports.

Testing File Metric

1.2.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, and your repo must contain a file

Version Tag Metric

1.2.0 passed this metric