variable resolution problem

Xander Cage <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
hey,

once again, basic principles make me struggle.

so i have this (not global) var definded somewhere in my local "stdlib".

root@aixtest01: /root/cfe_testbed # /var/cfengine/bin/cf-promises 
--show-vars | grep udate
default:itsvrep_c.itsv_udate             
2021-07-26T14:20:03CEST                                      source=promise

i want to use the contents of that var to timestamp my reports.

 reports:

    "$(itsvrep_c.itsv_udate) / $(this.bundle) - Message: Path contains: 
$(path)" ;


boom, not working, variable unresolved...

root@aixtest01: /root/cfe_testbed # /var/cfengine/bin/cf-agent -KI -f 
./python_symlink_test.cf
R: $(itsvrep_c.itsv_udate) / do_what_i_say - Message: Path contains:

so, how to i address this var without making it global?

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/49c76312-80f3-4163-b181-0be6709d122an%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.