cookbook 'qpdf', '= 1.0.0', :supermarket
Installs qpdf from packages
cookbook 'qpdf', '= 1.0.0'
knife cookbook site install qpdf
knife cookbook site download qpdf
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.
recipe[qpdf] in your run_list to have QPDF
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
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.
|chef-sugar >= 0.0.0|
|yum >= 0.0.0|
|apt >= 0.0.0|
There are no cookbooks that are contingent upon this one.