Forum: CFEngine Help
Subject: Re: error building cfengine 3.1.5 under AIX w/ IBM xlc compiler
Author: jonesy1234
Link to topic: https://cfengine.com/forum/read.php?3,24547,24594#msg-24594

Take a look at the reference manual - 
http://cfengine.com/manuals/cf3-reference.html#A-complete-configuration - 4.3 
update.cf

You'll see that the binaries are copied into /var/cfengine/bin in this case 
from /usr/local/sbin. In my update.cf I copy the Perzl binaries in to this 
location also.


files:

  # Target location
  "/var/cfengine/inputs"

    comment             => "Synchronize promise files from policy server - NOTE 
there are excludes in mycopy function see below",
    perms               => u_p("600"),
    copy_from           => mycopy("$(master_location)","$(policy_server)"),
    depth_search        => recurse("inf"),
    action              => uimmediate("repaired","policy_files");

  # Target location
  "/var/cfengine/inputs/modules"

    comment             => "As the modules need to be executable we copy them 
using a separate function called mycopy_modules see below",
    perms               => u_p("700"),
    copy_from           => 
mycopy_modules("$(master_location)/modules","$(policy_server)"),
    depth_search        => recurse("inf"),
    action              => uimmediate("repaired","module_files");

  # Target location
  "/var/cfengine/bin"

    comment             => "Copy the cfengine binaries into cached location",
    perms               => u_p("700"),
    copy_from           => mycopy("$(cf3_local_binaries)","localhost"),
    file_select         => cf_only,
    depth_search        => recurse("inf"),
    action              => uimmediate("repaired","cfengine_binaries");


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

Reply via email to