{"id":15061230,"url":"https://github.com/hfm/puppet-h2o","last_synced_at":"2026-01-02T21:31:56.694Z","repository":{"id":57664714,"uuid":"92581230","full_name":"hfm/puppet-h2o","owner":"hfm","description":"Handles installing, configuring, and running h2o via Puppet module","archived":false,"fork":false,"pushed_at":"2018-11-09T02:37:34.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T11:46:40.093Z","etag":null,"topics":["h2o","http-server","http2","http2-server","https","puppet"],"latest_commit_sha":null,"homepage":"https://forge.puppet.com/hfm/h2o","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hfm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-27T07:43:26.000Z","updated_at":"2018-11-09T02:37:34.000Z","dependencies_parsed_at":"2022-09-14T21:40:53.717Z","dependency_job_id":null,"html_url":"https://github.com/hfm/puppet-h2o","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfm%2Fpuppet-h2o","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfm%2Fpuppet-h2o/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfm%2Fpuppet-h2o/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfm%2Fpuppet-h2o/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hfm","download_url":"https://codeload.github.com/hfm/puppet-h2o/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707382,"owners_count":20334619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["h2o","http-server","http2","http2-server","https","puppet"],"created_at":"2024-09-24T23:12:13.638Z","updated_at":"2026-01-02T21:31:56.645Z","avatar_url":"https://github.com/hfm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# h2o [![Build Status](https://travis-ci.org/hfm/puppet-h2o.svg?branch=master)](https://travis-ci.org/hfm/puppet-h2o) [![Puppet Forge](https://img.shields.io/puppetforge/v/hfm/h2o.svg?style=flat-square)](https://forge.puppet.com/hfm/h2o)\n\n#### Table of Contents\n\n1. [Description](#description)\n1. [Setup - The basics of getting started with h2o](#setup)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning with h2o](#beginning-with-h2o)\n1. [Usage - Configuration options and additional functionality](#usage)\n    - [Configuring](#configuring)\n    - [Configuring modules from Hiera](#configuring-modules-from-hiera)\n1. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n    - [Public Classes](#public-classes)\n    - [Private Classes](#private-classes)\n    - [Parameters](#parameters)\n1. [Limitations - OS compatibility, etc.](#limitations)\n1. [Development - Guide for contributing to the module](#development)\n    - [Running tests](#running-tests)\n    - [Testing quickstart](#testing-quickstart)\n\n## Description\n\nThe h2o module handles installing, configuring, and running [h2o](https://h2o.examp1e.net/).\n\n## Setup\n\n### Setup Requirements\n\n- [puppetlabs-stdlib](https://forge.puppet.com/puppetlabs/stdlib) (\u003e= 4.0.0 \u003c 5.0.0)\n- [puppetlabs-apt](https://forge.puppet.com/puppetlabs/apt) (\u003e= 2.0.0 \u003c 5.0.0)\n\n### Beginning with h2o\n\nTo install the h2o with default parameters, declare the `h2o` class.\n\n```puppet\ninclude ::h2o\n```\n\n## Usage\n\n### Configuring h2o\n\n```puppet\nclass { 'h2o':\n  package_ensure =\u003e '2.2.2-1~ubuntu16.04.1',\n}\n```\n\n### Configuring modules from Hiera\n\n```yaml\nh2o::package_ensure: '2.2.2-1~ubuntu16.04.1'\n```\n\n## Reference\n\n### Public Classes\n\n- [`h2o`](#h2o): Installs and runs h2o.\n\n### Private Classes\n\n- `h2o::install`: Installs the h2o package.\n- `h2o::repo`: Manages the h2o repository.\n- `h2o::repo::yum`: Manages the Yum repository.\n- `h2o::repo::apt`: Manages the Apt sources.\n- `h2o::service`: Manages service.\n\n### Parameters\n\n#### `h2o` class\n\n- `repo_ensure`: Specifies whether the h2o repository should exist. Type is the String. Default: 'present'.\n- `package_ensure`: What state the package should be in. Type is the String. Default: 'installed'.\n- `service_ensure`: Whether a service should be running. Type is the String. Default: 'running'.\n- `service_enable`: Whether a service should be enabled to start at boot. Type is the Boolean. Default: true.\n\n## Limitations\n\nThis module has been tested on:\n\n- RedHat Enterprise Linux 6, 7\n- CentOS 6, 7\n- Scientific Linux 6, 7\n- Fedora 22, 23, 24, 25\n- Debian 7, 8\n- Ubuntu 14.04, 16.04\n\n## Development\n\n### Running tests\n\nThe tinyproxy module contains tests for both [rspec-puppet](http://rspec-puppet.com/) (unit tests) and [beaker-rspec](https://github.com/puppetlabs/beaker-rspec) (acceptance tests) to verify functionality. For detailed information on using these tools, please see their respective documentation.\n\n### Testing quickstart\n\nUnit tests:\n\n```console\n$ bundle install\n$ bundle exec rake test\n```\n\nAcceptance tests using docker:\n\n```console\n# List available beaker nodesets\n$ bundle exec rake beaker_nodes\ncentos7\nxenial\n\n# Run beaker acceptance tests\n$ BEAKER_set=xenial bundle exec rake beaker\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfm%2Fpuppet-h2o","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhfm%2Fpuppet-h2o","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfm%2Fpuppet-h2o/lists"}