I am also aware the hard class name, but is there any way i can put the "classname" into a variable or a system variable such as sys.resolv?
2009/12/16 Robert Markula <robert.mark...@gmx.net> > 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 > -- SA,专注于系统管理
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine