I have a working jar file in an ubuntu virtual machine. I need to create a chef recipe to:
Can this be achieved with CHEF?
Regards, Aditya Chaudhary
There are many options. Most likely the easiest:
execute "run file.jar in directory" do command "java -jar file.jar" cwd "directory containing jar file" action :run end
jar , Chef . -. , jar , : Jar