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

RSS

wkhtmltopdf-update (9) Versions 0.2.2

Installs wkhtmltoimage and wkhtmltopdf

Policyfile
Berkshelf
Knife
cookbook 'wkhtmltopdf-update', '= 0.2.2', :supermarket
cookbook 'wkhtmltopdf-update', '= 0.2.2'
knife supermarket install wkhtmltopdf-update
knife supermarket download wkhtmltopdf-update
README
Dependencies
Changelog
Quality 0%

chef-wkhtmltopdf Build Status

Description

Installs wkhtmltopdf-update static binaries. This cookbook is inspired by https://github.com/bflad/chef-wkhtmltopdf.

Cookbook Compatibility:
* chef-wkhtmltopdf 0.1.0: wkhtmltopdf 0.11.0_rc1
* chef-wkhtmltopdf 0.2.0: wkhtmltopdf 0.12.0
* chef-wkhtmltopdf 0.2.1: wkhtmltopdf 0.12.2
* chef-wkhtmltopdf 0.2.2: wkhtmltopdf 0.12.2.1

Requirements

Platforms

  • CentOS 6
  • RedHat 6
  • Ubuntu 12.04
  • Ubuntu 13.04
  • Ubuntu 14.04

Cookbooks

Opscode Cookbooks

Attributes

These attributes are under the node['wkhtmltopdf-update'] namespace.

Attribute Description Type Default
dependency_packages Packages that contain wkhtmltopdf dependencies String (auto-detected, see attributes/default.rb)
install_dir directory to install static binaries String /usr/local/bin
lib_dir directory to install libraries String ''
mirror_url URL for wkhtmltopdf String (auto-detected, see attributes/default.rb)
platform wkhtmltopdf platform and architecture String (auto-detected, see attributes/default.rb)
version wkhtmltopdf version to install String 0.12.2.1

Recipes

  • recipe[wkhtmltopdf-update] Installs wkhtmltoimage and wkhtmltopdf
  • recipe[wkhtmltopdf-update::binary] Installs wkhtmltoimage and wkhtmltopdf static binaries

Usage

  • Add recipe(s) to node's run list

Testing and Development

Here's how you can quickly get testing or developing against the cookbook thanks to Vagrant and Berkshelf.

vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-cachier
vagrant plugin install vagrant-omnibus
git clone git://github.com/ballisticpain/chef-wkhtmltopdf.git
cd chef-wkhtmltopdf
vagrant up BOX # BOX being centos5, centos6, debian7, fedora18, fedora19, fedora20, freebsd9, ubuntu1204, ubuntu1210, ubuntu1304, ubuntu1310, ubuntu1404, or ubuntu1410

You can then SSH into the running VM using the vagrant ssh BOX command.

The VM can easily be stopped and deleted with the vagrant destroy command. Please see the official Vagrant documentation for a more in depth explanation of available commands.

Contributing

Please use standard Github issues/pull requests and if possible, in combination with testing on the Vagrant boxes.

Maintainers

License

Please see licensing information in: [LICENSE](LICENSE)

Dependent cookbooks

apt >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.2.0

  • Bugfix: Removed extraneous wkhtmltoimage/wkhtmltopdf attributes
  • Enhancement: #2: Updated to wkhtmltopdf 0.12.0
  • Enhancement: Consolidated _binary recipes into single binary recipe
  • Enhancement: Set lib_dir to install wkhtmltox.so
  • Enhancement: Move dependency package installation to dependency_packages attribute and default recipe
  • Enhancement: Renamed arch attribute to platform (to better handle download URLs)

0.1.0

  • Initial release

Foodcritic Metric
            

0.2.2 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/d952ccbd143995f08ae42212/wkhtmltopdf-update/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/d952ccbd143995f08ae42212/wkhtmltopdf-update/metadata.rb:1