Version information
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
- ,
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
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
MIT License Copyright (c) 2016 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.