Hi everyone, I'm running into some strange behaviour, I'm hoping someone can shed some light onto this?
It seems that this.promiser is not interpolating the way I expect it to. Running the example below, I get the following error (of course /tmp/snarf.txt.template does exist): # cf-agent -IK -f ./this_promiser.cf Can't stat $(this.promiser).template in files.copyfrom promise Example: body common control { bundlesequence => { "wiggle" }; inputs => {"policies/cfengine_stdlib.cf"}; } bundle agent wiggle { files: "/tmp/snarf.txt" classes => if_repaired("snarf_copied"), perms => mog("0700","root","root"), copy_from => local_cp("$(this.promiser).template"); } Cheers, -- Sjoerd Oostdijck RIPE Network Coordination Centre RIPE NCC, IT Department Singel 258, Amsterdam, NL http://www.ripe.net +31 20 535 4444 _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine