Installs leiningen from the built image on github: https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
Java
- :leiningen
:bin_dir
Where to install the lein executable
Default:"/usr/local/bin"
:user
The unix user to own the executable
Default:"root"
:group
The unix group to own the executable
Default:"root"
:run_environment
Shell environment to run the intial lein command that will trigger the install
Default:{"HOME" => node[:leiningen][:bin_dir], "HTTP_CLIENT" => 'curl --insecure -f -L -o'}
The default recipe will install leiningen on the target system in `node[:leiningen][:bind_dir].
For creating Uberjars on target environments. You probably don't want to use this. It was for a very specific use case.
leiningen_project "Deploy Something" do
action [:build]
s3_wagon_private true
s3_username aws['access_key']
s3_passphrase aws['secret_key']
uberjar_name jar_name
source_dir source_dir
deploy_user user
end