Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voxpupuli/puppet-caddy
Puppet Caddy module
https://github.com/voxpupuli/puppet-caddy
centos-puppet-module debian-puppet-module hacktoberfest linux-puppet-module puppet redhat-puppet-module ubuntu-puppet-module
Last synced: 3 months ago
JSON representation
Puppet Caddy module
- Host: GitHub
- URL: https://github.com/voxpupuli/puppet-caddy
- Owner: voxpupuli
- License: mit
- Created: 2016-12-02T22:33:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T11:19:42.000Z (9 months ago)
- Last Synced: 2024-04-15T07:17:25.400Z (9 months ago)
- Topics: centos-puppet-module, debian-puppet-module, hacktoberfest, linux-puppet-module, puppet, redhat-puppet-module, ubuntu-puppet-module
- Language: Ruby
- Size: 248 KB
- Stars: 6
- Watchers: 40
- Forks: 12
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Puppet module for Caddy
[![Build Status](https://travis-ci.org/voxpupuli/puppet-caddy.svg?branch=master)](https://travis-ci.org/voxpupuli/puppet-caddy)
[![Code Coverage](https://coveralls.io/repos/github/voxpupuli/puppet-caddy/badge.svg?branch=master)](https://coveralls.io/github/voxpupuli/puppet-caddy)
[![Puppet Forge](https://img.shields.io/puppetforge/v/puppet/caddy.svg)](https://forge.puppetlabs.com/puppet/caddy)
[![Puppet Forge - downloads](https://img.shields.io/puppetforge/dt/puppet/caddy.svg)](https://forge.puppetlabs.com/puppet/caddy)
[![Puppet Forge - endorsement](https://img.shields.io/puppetforge/e/puppet/caddy.svg)](https://forge.puppetlabs.com/puppet/caddy)
[![Puppet Forge - scores](https://img.shields.io/puppetforge/f/puppet/caddy.svg)](https://forge.puppetlabs.com/puppet/caddy)
[![License](https://img.shields.io/github/license/voxpupuli/puppet-caddy.svg)](https://github.com/voxpupuli/puppet-caddy/blob/master/LICENSE)## Table of Contents
1. [Description](#description)
1. [Setup - The basics of getting started with Caddy](#setup)
* [What Caddy affects](#what-Caddy-affects)
* [Setup requirements](#setup-requirements)
* [Beginning with Caddy](#beginning-with-Caddy)
1. [Usage - Configuration options and additional functionality](#usage)
1. [Limitations - OS compatibility, etc.](#limitations)
1. [Development - Guide for contributing to the module](#development)## Description
This module installs and configures Caddy - The HTTP/2 web server with automatic
HTTPS.**Important:** This module only supports the installation of Caddy 2.x. If you
want to install Caddy 1.x, you should use version v2.0.0 of this module.## Setup
### What Caddy affects
* Caddy binary
* Caddy configuration file
* Caddy virtual hosts
* Caddy service### Setup Requirements
This module has the following dependencies:
* [camptocamp/systemd](https://github.com/camptocamp/puppet-systemd)
* [puppet/archive](https://github.com/voxpupuli/puppet-archive)
* [puppetlabs/stdlib](https://github.com/puppetlabs/puppetlabs-stdlib)
* [stm/file_capability](https://github.com/smoeding/puppet-file_capability)### Beginning with Caddy
Install Caddy without any configuration:
```puppet
include caddy
```## Usage
Install customised version of Caddy
```puppet
class { 'caddy':
caddy_features => 'http.git,http.filter,http.ipfilter',
}
```Install specific version of Caddy
```puppet
class { 'caddy':
version => '2.0.0',
install_method => 'github',
}
```Install Caddy and configure virtual host, based on source:
```puppet
caddy::vhost { 'example1':
source => 'puppet:///modules/caddy/etc/caddy/config/example1.conf',
}
```Install Caddy and configure virtual host, based on content:
```puppet
caddy::vhost { 'example2':
content => 'localhost:2015',
}
```## Reference
The [reference][1] documentation of this module is generated using [puppetlabs/puppetlabs-strings][2].
## Limitations
This module has been tested on:
* RedHat 7/8
* CentOS 7/8
* Debian 8/9/10
* Ubuntu 16.04/18.04## Development
This module has grown over time based on a range of contributions from people
using it. If you follow these [contributing][3] guidelines your patch will
likely make it into a release a little more quickly.## Author
This module is maintained by [Vox Pupuli][4]. It was originally written and
maintained by [Lukasz Rohde][5].[1]: https://github.com/voxpupuli/puppet-caddy/blob/master/REFERENCE.md
[2]: https://github.com/puppetlabs/puppetlabs-strings
[3]: https://github.com/voxpupuli/puppet-caddy/blob/master/.github/CONTRIBUTING.md
[4]: https://voxpupuli.org
[5]: https://github.com/CommanderK5