Coder Social home page Coder Social logo

chef-wkhtmltopdf's Introduction

chef-wkhtmltopdf Build Status

Description

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

Cookbook Compatibility:

  • chef-wkhtmltopdf 0.1.0: wkhtmltopdf 0.11.0_rc1
  • chef-wkhtmltopdf 0.2.0: wkhtmltopdf 0.12.0

Requirements

Platforms

  • CentOS 6
  • RedHat 6
  • Ubuntu 12.04

Cookbooks

Opscode Cookbooks

Attributes

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

Attribute Description Type Default
archive wkhtmltopdf archive name String wkhtmltox-#{node['wkhtmltopdf']['platform']}_#{node['wkhtmltopdf']['version']}-#{node['wkhtmltopdf']['build_sha']}.tar.xz
build_sha wkhtmltopdf build SHA String 03c001d
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.0

Recipes

  • recipe[wkhtmltopdf] Installs wkhtmltoimage and wkhtmltopdf
  • recipe[wkhtmltopdf::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/bflad/chef-wkhtmltopdf.git
cd chef-wkhtmltopdf
vagrant up BOX # BOX being centos5, centos6, debian7, fedora18, fedora19, fedora20, freebsd9, ubuntu1204, ubuntu1210, ubuntu1304, or ubuntu1310

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

chef-wkhtmltopdf's People

Contributors

bflad avatar ehlertij avatar todd avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.