Hello,

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

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

Reply via email to