cookbook 'hhvm', '~> 0.6.0'
hhvm (9) Versions 0.6.0 Follow8
Installs/Configures hhvm
cookbook 'hhvm', '~> 0.6.0', :supermarket
knife supermarket install hhvm
knife supermarket download hhvm
hhvm
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
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 or source ) |
Package installation | ||
node['hhvm']['package']['type'] |
default | Which HHVM package to install (one of dbg, nightly, nightly-dbg or default) |
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.
Collaborator Number Metric
0.6.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.6.0 failed this metric
FC109: Use platform-specific package resources instead of provider property: hhvm/recipes/_package_rhel.rb:11
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 failed this metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.6.0 failed this metric
FC109: Use platform-specific package resources instead of provider property: hhvm/recipes/_package_rhel.rb:11
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 failed this metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number