Browse Source

lecm: Added cron for lecm renew

Sebastien Badia 8 years ago
parent
commit
048cf60ac1
1 changed files with 7 additions and 0 deletions
  1. 7 0
      manifests/lecm.pp

+ 7 - 0
manifests/lecm.pp

@@ -21,4 +21,11 @@ class public::lecm {
   file { '/etc/letsencrypt':
     ensure => directory,
   }
+
+  cron { 'Renew of lecm certificates':
+    user    => root,
+    command => '/usr/bin/lecm --renew',
+    minute  => 30,
+    hour    => 23,
+  }
 }