Re: 3.0.1a2: Repeated connection denied

Jim Wight <[email protected]> Mon, 12 Jan 2009 10:19:28 +0000
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <EMEW-l0BAJY482c2fd778cd26cd8c1fa2d0eb72c854-496B1930.1030906@ncl.ac.uk>
Mark Burgess wrote:
> My unit tests work fine. Can you provide a self-contained example?

body common control
{
bundlesequence  => { "copy" };
}

bundle agent copy
{
files:
    "/tmp/testfile1" copy_from => mycopy("/tmp/testfile1", "gudea");
    "/tmp/testfile2" copy_from => mycopy("/tmp/testfile2", "gudea");
}

body copy_from mycopy(from,server)
{
source => "$(from)";
servers => { "$(server)" };
}


I'm operating under my own id, not as root.

NB The empty directory /tmp/testfile1./tmp is still getting created following 
the successful copy of the first file.

Jim