Hello everybody,

i want to use the function "execresult" to write the hostname in a
variable. 

Here is my example:

 

vars:

        "hostname"      string => execresult("/bin/hostname","noshell");

 

Can I use the execresult function in the newest version of cfengine?

 

Regards

-- 
Christian Seifert 

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to