body common control
   {
   any::

      bundlesequence  => { 
                         "testbundle"
                         };
   }


############################################

bundle agent testbundle

{
files:

  "/home/mark/tmp/testcopy" 

    perms => system,
    copy_from => mycopy("/home/mark/LapTop/words/RoadAhead","eternity.iu.hio.no"),
    depth_search => recurse("inf");

}

############################################

body perms system

{
mode  => "0444";
}

#########################################################

body depth_search recurse(d)

{
depth => "$(d)";
}

#########################################################

body copy_from mycopy(from,server)

{
source      => "$(from)";
#portnumber => "6789";
servers     => { "$(server)" , "failover1" };
copy_backup => "true";                   #/false/timestamp
stealth     => "true";                   #/on/false/off
preserve    => "true";
linkcopy_patterns => { ".*fish.*" };
copylink_patterns => { "non-local.*"};
xdev        => "true";                   # /on/false/off
compare     => "mtime";                  # ctime/mtime/checksum/sum/byte/binary/any
link_type    => "absolute";              # /symbolic/relative/hard etc
type_check   => "true";
force_update => "false";
force_ipv4   => "false";
copy_size        => irange("0","50000");
trustkey    => "true";
encrypt     => "true";
verify      => "true";
purge       => "false";
findertype  => "MacOSX";
}
