2009/12/17 flex <frostyn...@gmail.com> > > Thank you very much, it is useful! > But there is no mention of this builtin variable in the "cf3-Reference.pdf", > how could you find this? > sys.ipv4 is mentioned a couple of times en passent in the cf3 reference, see for example http://www.cfengine.org/manuals/cf3-reference.html#Function-splayclass. I tried a simple report:
bundle agent dev{ reports: solaris:: "my ip is ${sys.ipv4}" } which gave the expected result. sys.ipv4 should probably have been listed in the section on sys variables (at http://www.cfengine.org/manuals/cf3-reference.html#Variable-context-sys), but isn't there because "There are too many possibilities to document in the manual", hehe. However, you should be able to figure it out with the examples given in the docs and in this thread. - Erlend Leganger _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine