Skip to content

s-frostick/puppet-caddy

 
 

Repository files navigation

Puppet Caddy Module Build Status

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

About

Puppet Caddy module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 53.2%
  • Puppet 34.2%
  • Shell 8.4%
  • HTML 4.2%