I browse the source code, and find it in sysinfo.c It seems "sys.ipv4" is the only missing one :)
2009/12/17 Mark Burgess <mark.burg...@iu.hio.no> > > I'll look into a workaround for this. Clearly it needs to be fixed. > > The documentation is built automatically from the code, so all the > different > interfaces make it tricky in this case. > > Erlend Leganger wrote: > > 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 > > -- > Mark Burgess > > ------------------------------------------------- > Professor of Network and System Administration > Oslo University College, Norway > > Personal Web: http://www.iu.hio.no/~mark <http://www.iu.hio.no/%7Emark> > Office Telf : +47 22453272 > ------------------------------------------------- > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > -- System Administrator, Focus on System Management and Basic Development
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine