Puppet Caddy Module
Table of Contents
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",
}
source
or content
)
Add a Vhost with your configuration (caddy::vhost {'example1':
source => 'puppet:///modules/caddy/etc/caddy/config/example1.conf',
}
caddy::vhost {'example2':
source => 'puppet:///modules/caddy/etc/caddy/config/example2.conf',
}
Parameters
caddy_features
Install Caddy with extra features
install_path
Caddy binary installation path - default /usr/local/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