Forge Home

hhvm

Installs and configures Facebook's HHVM

11,502 downloads

11,073 latest version

3.8 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Aug 5th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'mayflower-hhvm', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add mayflower-hhvm
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install mayflower-hhvm --version 0.1.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

mayflower/hhvm — version 0.1.2 Aug 5th 2014

hhvm

Build Status

Table of Contents

  1. Overview
  2. Setup - The basics of getting started with hhvm
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Overview

This module installs and configures Facebook's HHVM for you. It aims to use sane defaults and be easily configurable with hiera.

Dependencies

HHVM depends on

  • puppetlabs/stdlib
  • puppetlabs/apt for the repository configureation
  • maestrodev/wget for the highly experimental pgsql support.

Usage

To use the module simply use the base class which will do everything you need. You may turn off repo management or use the highly experimental pgsql support.

class { '::hhvm':
  manage_repos => true,
  pgsql        => false
}

Additional configs (with defaults):

hhvm::config::user: www-data   # user to run server with
hhvm::config::group: www-data  # group to run server with
hhvm::config::port: 9000       # port for fastcgi server
hhvm::config::settings: []     # augeas commands for php.ini

Example config:

hhvm::config::user: vagrant
hhvm::config::group: users
hhvm::config::port: 9090
hhvm::config::settings: 
  - set .anon/date.datetime Europe/Berlin

Limitations

Currently only tested with Ubuntu 14.04 Trusty Tahr

Development

  • If you find a bug or wish to have a new feature simply open an issue.
  • Otherwise if you are really motivated pull requests are always welcome, too.

Credits