From ab05f01e16524a57fb52ff087c80f173030abd7b Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Thu, 13 Aug 2015 18:16:23 -0700 Subject: [PATCH] Fix class parameters All of these parameters are unconditionally fed into a cron command, leaving them empty would result in the command failing with a syntax error. This patch sets defaults for the email and days parameters but makes the domainlist_file required since it is unmanaged in this class. Change-Id: I7a0ba47e8a1bedb08b6b9d46c36ad87cbf0243d1 --- manifests/init.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 3cc9d32..239a7a0 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,9 +1,9 @@ # == Class: ssl_cert_check # class ssl_cert_check( - $domainlist_file = '', - $email = '', - $days = '' + $domainlist_file, + $email = 'root', + $days = '30', ) { package { 'ssl-cert-check': ensure => present,