mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 03:43:42 +08:00
f3bcbd8bc3
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`.
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"name": "phantomjs",
|
|
"description": "Installs/Configures phantomjs",
|
|
"long_description": "phantomjs Cookbook\n==================\n[![Build Status](https://secure.travis-ci.org/customink-webops/phantomjs.png?branch=master)](http://travis-ci.org/customink-webops/phantomjs)\n\nInstalls the phantomjs cookbook and necessary packages. This repository also features a full test suite!\n\nAttributes\n----------\n- `default['phantomjs']['version']` - the version number to install\n\nContributing\n------------\n1. Fork the project\n2. Create a feature branch (i.e. `add_feature_x`)\n3. Make your changes\n4. Write or change specs as necessary\n5. Ensure the specs pass:\n\n $ bundle exec rspec\n\n6. Submit a pull request on github\n\nLicense and Authors\n-------------------\nAuthor: [Seth Vargo](https://github.com/sethvargo)\n\nCopyright 2012, CustomInk, LLC\n",
|
|
"maintainer": "CustomInk",
|
|
"maintainer_email": "webops@customink.com",
|
|
"license": "Apache 2.0",
|
|
"platforms": {
|
|
"amazon": ">= 0.0.0",
|
|
"centos": ">= 0.0.0",
|
|
"debian": ">= 0.0.0",
|
|
"fedora": ">= 0.0.0",
|
|
"oracle": ">= 0.0.0",
|
|
"rhel": ">= 0.0.0",
|
|
"scientific": ">= 0.0.0",
|
|
"ubuntu": ">= 0.0.0"
|
|
},
|
|
"dependencies": {
|
|
},
|
|
"recommendations": {
|
|
},
|
|
"suggestions": {
|
|
},
|
|
"conflicting": {
|
|
},
|
|
"providing": {
|
|
},
|
|
"replacing": {
|
|
},
|
|
"attributes": {
|
|
"version": {
|
|
"display_name": "Version",
|
|
"description": "The Version of phantomjs to install",
|
|
"default": "1.7.0",
|
|
"choice": [
|
|
|
|
],
|
|
"calculated": false,
|
|
"type": "string",
|
|
"required": "optional",
|
|
"recipes": [
|
|
|
|
]
|
|
}
|
|
},
|
|
"groupings": {
|
|
},
|
|
"recipes": {
|
|
"phantomjs::default": "Install phantomjs binary"
|
|
},
|
|
"version": "0.0.10"
|
|
} |