diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/subsystems/domain.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/subsystems/domain.pp b/manifests/subsystems/domain.pp index b4d0954..d076052 100644 --- a/manifests/subsystems/domain.pp +++ b/manifests/subsystems/domain.pp @@ -11,9 +11,9 @@ class domain { source => "puppet://$server/modules/nodo/bin/domain-check", } - define check($interval = '60', $email = 'root', $hour = '0', - $minute = '0', $weekday = '0', - $file = false) { + define check($interval = '60', $email = 'root', $hour = '0', + $minute = '0', $weekday = '0', + $file = false, $ensure = present) { $cert_check = "/usr/local/bin/domain-check -a -q -x ${interval} -e ${email}" @@ -28,7 +28,7 @@ class domain { hour => $hour, minute => $minute, weekday => $weekday, - ensure => present, + ensure => $ensure, require => File["/usr/local/bin/domain-check"], } } |