Re: Re: variable resolution problem

"vratislav.podzimek via help-cfengine" <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
On Tue, 2021-07-27 at 01:52 -0700, Xander Cage wrote:
> yes, the var is in a namespaced bundle. $(default:itsvrep_c.itsv_udate) doas not work either, but
> nevermind, i stay with sys.date.
> 
If the variable itself is defined in a namespaced bundle than the reference to it will be
'$(the_namespace:itsvrep_c.itsv_udate)'. '$(default:itsvrep_c.itsv_udate)' would be the case if the
variable was defined in the default/no namespace and the reference was in a namespace. IOW, the
namespace either needs to be the same for the variable and the reference to it or the namespace
needs to be part of the variable reference (even if it's "default").

--
Vratislav

-- 
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/74ccfa0ed1c308d33dee3422da60f7249fd8c1d7.camel%40northern.tech.
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.