From: Silvio Rhatto Date: Thu, 31 May 2018 00:00:51 +0000 (-0300) Subject: Pass post_command to certbot class X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=86a76a9bebafd0f028b057d35a705f946a18eae6;p=puppet-nginx.git Pass post_command to certbot class --- diff --git a/manifests/ssl.pp b/manifests/ssl.pp index 195ef66..4b6547a 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -3,12 +3,12 @@ class nginx::ssl( ) { include ssl include ssl::snakeoil - include certbot - #class { 'certbot': - # pre_hook => '/usr/sbin/service nginx stop', - # post_hook => '/usr/sbin/service nginx start', - #} + class { 'certbot': + #pre_hook => '/usr/sbin/service nginx stop', + #post_hook => '/usr/sbin/service nginx start', + post_command => '/usr/sbin/service nginx start', + } #package { 'python-certbot-nginx': # ensure: present,