This chef cookbook can be used to provision a ready-to-use virtual box machine to work on the open_call project
- Ubuntu 14.04
You must have:
-
Vagrant Omnibus plugin
$ vagrant plugin install vagrant-omnibus -
Vagrant Berkshelf plugin
$ vagrant plugin install vagrant-berkshelf
| Key | Type | Description | Default |
|---|---|---|---|
| ['open_call']['ruby_version'] | String | Ruby version to install and make default | 2.4.1 |
| ['open_call']['ruby_gems'] | Array | Ruby gems to install, each array element is a hash where key is gem name and value is gem version | [] |
| ['open_call']['elasticsearch_version'] | String | ElasticSearch version to install | 5.1.2 |
| ['open_call']['elasticsearch_path'] | String | ElasticSearch path to install into | /usr/local |
| ['open_call']['elasticsearch_port'] | Integer | ElasticSearch port | 9200 |
Include open_call in your node's run_list:
{
"run_list": [
"recipe[open_call::default]",
"recipe[open_call::repo]" # -> skip if dont want to clone repo and prepare env (database, elasticsearch)
]
}