]> gitweb.fluxo.info Git - puppet-nginx.git/commitdiff
Certbot: cronjob full path
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 16 Jun 2016 22:47:56 +0000 (19:47 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 16 Jun 2016 22:47:56 +0000 (19:47 -0300)
manifests/ssl.pp

index 2ec8d89e551eb012df0afcaa322beee8b5bccf73..1fec72af21153e10f95349e5763321c8143436cf 100644 (file)
@@ -32,7 +32,7 @@ class nginx::ssl(
   }
 
   cron { 'certbot-renew':
-    command => 'certbot renew --standalone --pre-hook "service nginx stop" --post-hook "service nginx start"',
+    command => '/usr/bin/certbot renew --standalone --pre-hook "service nginx stop" --post-hook "service nginx start"',
     user    => 'root',
     weekday  => 1,
     hour     => "05",