From 86a76a9bebafd0f028b057d35a705f946a18eae6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 30 May 2018 21:00:51 -0300 Subject: Pass post_command to certbot class --- manifests/ssl.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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, -- cgit v1.2.3