Closed saimonn closed 7 years ago
Hi @saimonn,
Thank you for your contribution. I have a question. When I read the doc: https://docs.puppet.com/puppet/latest/reference/function.html#defined I read this:
This function takes at least one string argument, which can be a class name, type name, resource reference, or variable reference of the form '$name'.
Should it not be: defined('$::monit_version')
?
Regards,
You are right, I've amended the commit in this way.
The precedent version fails with
strict_variables
enabled on the puppetserver side.