How to download and install files with a chef

I have a basic Chef setup that is great for installing systems with specific servers and configurations. My goal is to install everything except SSHing on the server. In this particular case, I am installing the Neo4j database and want to add a plug-in (an extension for authentication) to it, and the installation process is to download .jar and copy it to a folder. How can I do this with a chef?

+4
source share
1 answer

You are probably looking for remote_file :

remote_file "/destination-folder/large-file.tar.gz" do source "http://www.example.org/large-file.tar.gz" end 
+11
source

All Articles