summaryrefslogtreecommitdiff
path: root/manifests/service.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-01-16 14:51:11 -0500
committerMicah Anderson <micah@riseup.net>2013-01-16 14:51:11 -0500
commitca7eb732064ce29fc83d4c32a4df7d9512d45802 (patch)
tree3cb45e3dbda264f73da726fc4c2a6aaa9d31d7f8 /manifests/service.pp
parentd8bf530ec42fdc4d2281169234964d28d8a689ac (diff)
Debian's unbound status command doesn't work properly (see #685052), so setup a
parameter to toggle the hasstatus value
Diffstat (limited to 'manifests/service.pp')
-rw-r--r--manifests/service.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/service.pp b/manifests/service.pp
index 2556999..f96f453 100644
--- a/manifests/service.pp
+++ b/manifests/service.pp
@@ -15,7 +15,8 @@ class unbound::service {
}
service { $unbound::params::service:
- ensure => running,
+ ensure => running,
+ hasstatus => $unbound::params::hasstatus,
subscribe => File[$unbound::params::config],
}
}