Hi unknown sender, help-cfengine-requ...@cfengine.org wrote: > HI, everyone, is there a way to get local ip address in cfengine3?
You can get the local IP in form of a cfengine class, if you mean that. Try running cf-promises -v on the client and you can see the local IP-Address in the form 192_168_0_1 (if it is 192.168.0.1). There are some other classes as well, e.g. hostname, kernel version or network interface. Just take a look at the output of the above command. Cheers, Robert _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine