Puppet Caddy module installs and configures caddy - The HTTP/2 web server with automatic HTTPS.
Puppet Caddy module handles installing, configuring, and running Caddy server on Redhat based oparting systems.
include caddy
class {'caddy':
caddy_features = "git,mailout,ipfilter",
}
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
Tested on Centos 6.8 and Centos 7.3.
- Improve management of Caddyfile (templates).
MIT License