diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-22 22:34:12 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-22 22:34:12 -0300 |
commit | 95da4e006a2bc31f409c78872472db3ac01250d4 (patch) | |
tree | 5dec2a20007133df36bfab4a74a54452769db86a /manifests | |
parent | f70d8ee3c803caf4db66cd79af2df9039c86d59e (diff) | |
download | puppet-nginx-95da4e006a2bc31f409c78872472db3ac01250d4.tar.gz puppet-nginx-95da4e006a2bc31f409c78872472db3ac01250d4.tar.bz2 |
Uses snakeoil cert for default 403 site
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 1 | ||||
-rw-r--r-- | manifests/ssl.pp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 23f4214..ef98597 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -22,7 +22,6 @@ class nginx inherits nginx::base { # Default site nginx::site { "default": ensure => present, - ssl => absent, source => 'template', template => 'default', certbot => false, diff --git a/manifests/ssl.pp b/manifests/ssl.pp index 899f4ff..8dc3407 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -2,6 +2,7 @@ class nginx::ssl( $session_timeout = '5m' ) { include ssl + include ssl::snakeoil class { 'certbot': pre_hook => '/usr/sbin/service nginx stop', |