Forum: CFEngine Help
Subject: Re: CFEngine Help: Suggestions needed on folder structure and paths in 
promises
Author: sonofrage
Link to topic: https://cfengine.com/forum/read.php?3,26719,26752#msg-26752

Thanks Ballock, your reply was very helpful indeed!


Then you can use:
"scripts_folder" string => "$(sys.workdir)resources/scripts";

Yeah, that's what I'll be doing, but currently I'm just "testing out" the files 
in a location other than "masterfiles" so that they won't be copied to other 
nodes as they're being tested. How do you suggest I go about testing scripts? 
Work on the "masterfiles" folder itself on a different machine? 


For the particular java case, I prefer to use Debian or RedHat packages
to distribute it. If you just want to unpack it from a zipfile, perhaps
it is better to just use a copy promise and copy this from a master
server where it is kept unpacked.

I did use rpm to install packages, but I'm required to install a particular 
version of Oracle's JDK and the latest version of maven, and setting up the 
repositories and stuff got quite patchy, that's why I decided to maintain 
installation media locally and install from there. 

Many thanks,
sonofrage

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

Reply via email to