On Fri, Oct 15, 2010 at 9:09 AM, Sandra Wittenbrock <san...@hpcrd.lbl.gov>wrote:

> Hello,
>
> I am a little stumped as to why I am getting this error.
>

Your handle contains an invalid character '_'. Otherwise, my cfengine
3.1.0b2 was happy with your bundle.


>
> syntax error, near token 'copy_from'
>
> Here is the file content:
>
> bundle agent site
> {
>
>
> files:
>
>    "/etc/grid-security"
>        handle => "copy_grid-security",
>        perms => usystem("0755"),
>        depth_search => urecurse("inf"),
>        copy_from => umycopy("/etc/grid-security");
>
> }
>
> body copy_from umycopy(from) {
>    source => "${from}";
>    servers => { "${phost}" };
>    compare => "digest";
>    #compare => "mtime";
>    verify => "true";
>    purge => "true";
>    trustkey => "true";
> }
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to