Skip to content

Instantly share code, notes, and snippets.

@mattias-lidman
Created August 18, 2011 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattias-lidman/1154432 to your computer and use it in GitHub Desktop.
Save mattias-lidman/1154432 to your computer and use it in GitHub Desktop.
bash 'deploy .war' do
user 'root'
code <<EOF
cp /opt/shibboleth-idp/war/idp.war #{app['deploy_to']}/releases/#{app['war'][node.app_environment]['checksum']}.war
EOF
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment