Hi,
that's actually a sound implementation.
Try this for debugging:
$comma_separated_list = inline_template("
<%= scope.lookupvar("::monit::services") * ', ' %>")
notify { "Services list: $comma_separated_list": }
Inside a class, not inside the defined type.
Cheers,
Felix
On 02/25/2013 03:52
Thanks felix,
I'm trying to do a validator for monit module.
I'm pretending down services are not controlled by monit, avoiding false
alarm from monit service.
I was work around with something like :
class monit($services) {
include monit::checkservice,
monit::snippet
monit