> Yep, you're definitely going to see the bug, then.  The report was against
> 3.0.3, and I *think* it is fixed in 3.0.4

I've been trying to get this working and cannot seem to. Or I don't know
what I'm doing which is a frequent thing so bear with me.

As of a 3.0.4 source build. I will try SVN in a moment.

My goal was to "reduce" the chance for admin typo error in a copy
operation by simply referencing $(this.promiser) as the path in
copy_from. I've already typed in the path as the promise.

Am I missing something basic?

files:
  "/path/to/some/file"
        copy_from => quick_copy($(this.promiser));

I believe $(this.promiser) as being equal to "/path/to/some/file" in
this case.

Quick copy just contains the logic for a standard copy of a master to a
provided path. basically the same as secure_cp/remote_cp/local_cp in the
stdlib.

I freely admit I may be "doing this wrong". Since many of my rules are
this format, I guess it would also be nice for quick_copy to not even
need that as an argument.

Am I "doing this wrong" ? Is there a better way to quickly write the
promise for a set of files to be copied?

-- 
----------------------------------------------------------
Paul Tatarsky                            [email protected]
             http://www.tatarsky.com/
----------------------------------------------------------
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to