Forum: CFEngine Help
Subject: Re: cfengine3.3.3 binaries no longer install in /usr/local/sbin
Author: Jason Christy
Link to topic: https://cfengine.com/forum/read.php?3,26176,26193#msg-26193

If this was intentional, the following example in the rpm will need to be 
updated: /var/cfengine/share/doc/example_config/update.cf

bundle agent update
{
vars:

 "master_location" string => "/var/cfengine/masterfiles";

files:

  "/var/cfengine/inputs" 

    perms => u_p("600"),
    copy_from => mycopy("$(master_location)","localhost"),
    depth_search => urecurse("inf"),
    action => uimmediate;

  "/var/cfengine/bin" 

    perms => u_p("700"),
    copy_from => mycopy("/usr/local/sbin","localhost"),
    file_select => cf3_files,
    depth_search => urecurse("inf"),
    action => uimmediate;
}

If others are using the above code in previous versions of cfengine, they'll 
have to update the logic as well.  A mention of this in the changelog would 
have been nice.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to