Template validation

Markus Rexhepi-Lindberg <[email protected]> Fri, 15 Mar 2024 01:37:29 -0700 (PDT)
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Hi,

Is there something equivalent to the validate function that is used for the 
template module in Ansible [1] for CFEngine's template engine? I have built 
some logic to validate the `/etc/ssh/sshd_config` config file for the sshd 
application before writing to it in one of my CFEngine policies but it has 
some drawbacks and it is not really an elegant solution.

[1] 
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/template_module.html#parameter-validate

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/c4613f62-4fff-45f2-88be-3636dc7d7c1cn%40googlegroups.com.