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


qpdf (2) Versions 1.0.0

Installs qpdf from packages

cookbook 'qpdf', '= 1.0.0'
cookbook 'qpdf', '= 1.0.0', :supermarket
knife supermarket install qpdf
knife supermarket download qpdf
Quality -%

qpdf Cookbook

Installs QPDF and it's runtime/development libraries using your OSs package manager.

QPDF is a command-line program that does structural, content-preserving transformations on PDF files.



The chef-sugar library cookbook is used as it provides some nice helpers which are used in this cookbook for switching package names dependant on OS version.

On RHEL family distros, the "yum" cookbook is required for obtaining latest package indexes and adding the EPEL repo which is needed.

On Debian family distros, the "apt" cookbooks is required for obtaining latest package indexes.


The following platforms are supported and have been automatically tested under Test Kitchen:

  • Ubuntu 14.04 LTS
  • Debian 7.5
  • Centos 6.5
  • Amazon Linux (2014.03.1)

Other versions of these OSs should work. Alternative Debian and RHEL family distributions are also assumed to work. Please report any additional platforms you have tested so they can be added.


Simply include recipe[qpdf] in your run_list to have QPDF installed.



Installs QPDF and it's runtime/development libraries.


There are no attributes for this cookbook.



Pull requests are very welcome! Ideally create a topic branch for every separate change you make.

This cookbook uses [ChefSpec][chefspec] for unit tests. I also use Food Critic and RuboCop to check for style issues. When contributing it would be very helpful if you could run these via bundle exec spec and bundle exec style.

Lastly, there are Serverspec integration tests for use ignored. To see all of the available integration test suites just check bundle exec rake T or bundle exec kitchen list, it would be great if you run these tests too, you may however leave out the Amazon Linux test suite if you do not have an AWS account as it runs on an EC2 instance (you will be billed for running this).

License and Author

Author:: Ross Timson <[](>

Copyright 2014, Ross Timson

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.

Dependent cookbooks

chef-sugar >= 0.0.0
yum >= 0.0.0
apt >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found