Forum: CFEngine Help Subject: Re: Bootstrap from alternate location? Author: lance2010 Link to topic: https://cfengine.com/forum/read.php?3,23962,24269#msg-24269
Thanks for saving me time researching what I thought would surely be a bootstrap option (-f seems logical). In case it helps anybody plowing the same road, I was trying to bootstrap a Cygwin install from an Ubuntu host. I ended up creating a symlink from /var/cfengine to /var/lib/cfengine3 (ubuntu package uses this as the working dir instead of /var/cfengine) Here's an example of the cfengine directives required to create the symlink: bundle agent policy_server { files: ubuntu.policy_servers:: "/var/cfengine/." comment => "Create link to CFEngine bootstrap location", link_from => link_var_cfengine; } body link_from link_var_cfengine { source => "$(sys.workdir)"; link_type => "symlink"; } _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine