caddy

deprecated
Puppet Caddy Module

LR

CommanderK5

7,468 downloads

4,075 latest version

5.0 quality score

Version information

  • 999.999.999 (latest)
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Aug 22nd 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 6.0.0
  • RedHat
    ,
    CentOS
This module has been deprecated by its author since Jan 2nd 2019.

The author has suggested puppet-caddy as its replacement.

Start using this module

Documentation

CommanderK5/caddy — version 999.999.999 Aug 22nd 2018

Puppet Caddy Module

Table of Contents

  1. Overview
  2. Module Description
  3. Usage
  4. Limitations
  5. TODO

Overview

Puppet Caddy module installs and configures caddy - The HTTP/2 web server with automatic HTTPS.

Module Description

Puppet Caddy module handles installing, configuring, and running Caddy server on Redhat based oparting systems.

Usage

Install caddy with defaults:

include caddy

Install caddy with additiional features

class {'caddy':
  caddy_features = "git,mailout,ipfilter",
}

Add a Vhost with your configuration (source or content)

caddy::vhost {'example1':
  source => 'puppet:///modules/caddy/etc/caddy/config/example1.conf',
}

caddy::vhost {'example2':
  source => 'puppet:///modules/caddy/etc/caddy/config/example2.conf',
}

##Paramseters

###caddy_features

Install Caddy with extra features

###install_path

Caddy binary installation path - default /usr/bin

###caddy_user

User to run caddy - default caddy

###caddy_group

Group to run caddy - default caddy

###caddy_log_dir

Caddy loggin directory - default /var/log/caddy

###caddy_tmp_dir

Temp dir for caddy download

Limitations

Tested on Centos 6.8 and Centos 7.3.

TODO

  • Improve management of Caddyfile (templates).

License

MIT License