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
This commit is contained in:
parent
b9e7a8e588
commit
ab05f01e16
@ -1,9 +1,9 @@
|
|||||||
# == Class: ssl_cert_check
|
# == Class: ssl_cert_check
|
||||||
#
|
#
|
||||||
class ssl_cert_check(
|
class ssl_cert_check(
|
||||||
$domainlist_file = '',
|
$domainlist_file,
|
||||||
$email = '',
|
$email = 'root',
|
||||||
$days = ''
|
$days = '30',
|
||||||
) {
|
) {
|
||||||
package { 'ssl-cert-check':
|
package { 'ssl-cert-check':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user