aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-25 13:27:08 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-25 13:27:08 -0200
commitd0bec93f54005df62b99aba205d995a7cbff4bf9 (patch)
tree208749e23858483a1208e417c13bcff9b212b0cb /manifests/subsystems
parentb6e8be209eaf98d859e353f39b98d4703785d692 (diff)
downloadpuppet-nodo-d0bec93f54005df62b99aba205d995a7cbff4bf9.tar.gz
puppet-nodo-d0bec93f54005df62b99aba205d995a7cbff4bf9.tar.bz2
Adding ensure parameter to domain::check
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/domain.pp8
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"],
}
}