On Fri, Feb 17, 2012 at 1:28 PM, <no-re...@cfengine.com> wrote: > Forum: CFEngine Help > Subject: Re: Is there a way to get the current bundle name? > Author: milindk > Link to topic: https://cfengine.com/forum/read.php?3,24924,24928#msg-24928 > > I am still interested to know if I can capture bundlename ?
Sadly, you cannot, milindk. Please see "this.*" special variables in the reference manual: http://cfengine.com/manuals/cf3-reference#Variable-context-this You can capture the file name, the promise name (handle), the promiser name, and the line number in the file, but not the bundle. I've put in a feature request for capturing the bundle name in May of last year: https://cfengine.com/bugtracker/view.php?id=636 You may want to update the ticket with a "me too" just to register interest in this feature. (Or send in a patch if you're up to it -- I am not (yet)). =) Yours truly, Aleksey _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine