custom functions or function macros
Valentin Kleibel <[email protected]>
| Newsgroups | gmane.comp.sysutils.cfengine.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, I recently came across situation where i need to use the same combination of functions over and over again. In my case it's to check if a hostname is resolvable: 'not( strcmp( host2ip( $(hostname) ), $(hostname) ) )' Is there any way to make this a custom function or macro that i can easily reuse? Thanks for your help, Valentin -- 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/e866d838-9568-4a42-a265-cc0e10058e6bn%40googlegroups.com.