On Mon, 21 May 2012 15:51:11 -0400 Ted Zlatanov <t...@lifelogs.com> wrote:
TZ> On Mon, 21 May 2012 15:21:20 -0400 Ted Zlatanov <t...@lifelogs.com> wrote: TZ> bundle agent vcs_freshclone(prefix) TZ> { TZ> vars: TZ> "bundle_home" string => dirname("$(this.promise_filename)"), TZ> policy => "overridable"; TZ> } TZ> is called from A/runme.cf, while B/vcs_freshclone.cf has the actual TZ> bundle definition, $(bundle_home) will have A and not B. TZ> I pushed a fix for this; now cfsketch.pl will force-feed the file TZ> location as $($(prefix)bundle_home) to the sketch. vcs_freshclone uses TZ> this mechanism and it works fine, but it means that the bundle will not TZ> work properly if you choose not to use cfsketch and then you don't TZ> provide $($(prefix)bundle_home) manually. TZ> Nick, see if you can duplicate the bug on your side and I'll open the TZ> ticket. No rush, I have the fix above in place. I found this issue is already known: https://cfengine.com/bugtracker/view.php?id=718 I don't know if it will be fixed soon, so at least for now I'll leave the externally force-fed bundle_home in the vcs_freshclone sketch. The comments explain it better than I can... Take a look. Ted _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine