discourse/chef/cookbooks/phantomjs
Elliot Murphy f3bcbd8bc3 Use chef-solo to install phantomjs into Vagrant VM.
This introduces two configuration management runs into the
Vagrant provisioning phase. The first chef-solo run ensures that
a current version of chef is installed using the omnibus updater.
The second chef-solo run installs vim and phantomjs.

Much more is possible, this is a proof of concept.
Cookbooks are stored in the chef directory, and managed by
librarian-chef, which is like a bundler for cookbooks.

Chef is run when VM is first downloaded and booted, but not on
subsequent halt/up cycles. To force chef to run again, use
`vagrant provision`.
2013-02-07 14:09:57 -05:00
..
attributes Use chef-solo to install phantomjs into Vagrant VM. 2013-02-07 14:09:57 -05:00
recipes Use chef-solo to install phantomjs into Vagrant VM. 2013-02-07 14:09:57 -05:00
CHANGELOG.md Use chef-solo to install phantomjs into Vagrant VM. 2013-02-07 14:09:57 -05:00
README.md Use chef-solo to install phantomjs into Vagrant VM. 2013-02-07 14:09:57 -05:00
metadata.json Use chef-solo to install phantomjs into Vagrant VM. 2013-02-07 14:09:57 -05:00
metadata.rb Use chef-solo to install phantomjs into Vagrant VM. 2013-02-07 14:09:57 -05:00

README.md

phantomjs Cookbook

Build Status

Installs the phantomjs cookbook and necessary packages. This repository also features a full test suite!

Attributes

  • default['phantomjs']['version'] - the version number to install

Contributing

  1. Fork the project

  2. Create a feature branch (i.e. add_feature_x)

  3. Make your changes

  4. Write or change specs as necessary

  5. Ensure the specs pass:

    $ bundle exec rspec

  6. Submit a pull request on github

License and Authors

Author: Seth Vargo

Copyright 2012, CustomInk, LLC