Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jubianchi/hhvm-cookbook
Install/Configure HHVM using Opscode Chef
https://github.com/jubianchi/hhvm-cookbook
Last synced: 3 months ago
JSON representation
Install/Configure HHVM using Opscode Chef
- Host: GitHub
- URL: https://github.com/jubianchi/hhvm-cookbook
- Owner: jubianchi
- License: mit
- Created: 2014-01-03T11:19:36.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T12:53:50.000Z (almost 7 years ago)
- Last Synced: 2024-10-03T13:22:09.889Z (3 months ago)
- Language: Ruby
- Homepage: https://supermarket.getchef.com/cookbooks/hhvm
- Size: 438 KB
- Stars: 20
- Watchers: 2
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hhvm [![Build Status](https://travis-ci.org/jubianchi/hhvm-cookbook.svg?branch=master)](https://travis-ci.org/jubianchi/hhvm-cookbook)
## Requirements
* Chef `>= 11.6.0`
* Ruby `>= 1.9.3`## Platforms
| | Debian 7 | Ubuntu 12.04 | Ubuntu 13.10 | Ubuntu 14.04 | CentOS 6.4 | Centos 6.5 | Centos 6.6 | Centos 6.7 |
| -----------: | :--------: | :------------: | :------------: | :------------: | :----------: | :----------: | :----------: | :----------: |
| **Source** | X | X | X | X | | | | |
| **Package** | X | X | X | X | X | X | X | X |**The cookbook was tested on the previous platforms using the provided [`Vagrantfile`](Vagrantfile).**
## Cookbooks
### Requirements
* [apt cookbook](https://github.com/opscode-cookbooks/apt)
* [yum cookbook](https://github.com/opscode-cookbooks/yum)**All the requirements are decribed in the cookbook's [`metadata.rb`](metadata.rb) file and are locked using Berkshelf's lock file.**
### Attributes
| Attribute | Default | Description/Values |
| ------------------------------------------------- | -------------------------------------- | --------------------------------------------------------------------------- |
| `node['hhvm']['installation_type']` | package | Installation method ([`package`](#hhvmpackage) or [`source`](#hhvmsource)) |
| **Package installation** | | |
| `node['hhvm']['package']['type']` | default | Which HHVM package to install (one of dbg, nightly, nightly-dbg or default) |
| `node['hhvm']['package']['debian_release']` | nil | If given, use that for the release when constructing URLs for the APT repository |
| `node['hhvm']['setup_centos_hhvm_repo']` | true | If true, hop5.in will be installed on Centos hosts |
| `node['hhvm']['setup_centos_epel_repo']` | true | If true, EPEL will be installed on Centos hosts |
| **Source installation** | | |
| `node['hhvm']['source']['make_jobs']` | 1 | Number of parallel jobs when running `make` commands |
| `node['hhvm']['source']['hhvm_repository']` | git://github.com/facebook/hhvm.git | HHVM git repository URL |
| `node['hhvm']['source']['hhvm_revision']` | master | Revision to checkout when installing from sources |
| `node['hhvm']['source']['libevent_repository']` | git://github.com/libevent/libevent.git | libevent git repository URL |
| `node['hhvm']['source']['libevent_revision']` | eb8122f26 (release-1.4.14b-stable) | libevent version to checkout to build HHVM |
| `node['hhvm']['source']['layout']['working_dir']` | /usr/src | Directory in which repositories will be cloned |
| `node['hhvm']['source']['layout']['prefix']` | /usr | Prefix used when building HHVM |
| `node['hhvm']['source']['dependencies'][...]` | _very long list of packages_ | List of packages to install before being able to build HHVM |**All the default attributes are available in the [`attributes/default.rb`](attributes/default.rb) file.**
### Recipes
#### hhvm::default
This will install HHVM using packages which is the default installation method.
#### hhvm::package
This will install HHVM using packages which is the default installation method.
#### hhvm::source
This will install HHVM from sources.
## License
See [LICENSE](LICENSE) file.