Skip to content

Instantly share code, notes, and snippets.

@cwjohnston
Created December 6, 2011 21:19
Show Gist options
  • Select an option

  • Save cwjohnston/1440050 to your computer and use it in GitHub Desktop.

Select an option

Save cwjohnston/1440050 to your computer and use it in GitHub Desktop.
deploy "#{node[:haystack][:paths][:root]}" do
not_if { File.exists?("#{node[:haystack][:paths][:root]}/haystack_deploy.lock") }
repo node[:haystack][:repo]
revision node[:haystack][:revision]
symlink_before_migrate "" => ""
symlinks "local_settings.py" => "local_settings.py"
ssh_wrapper "#{node[:deploy][:ssh_wrapper_path]}/haystack_ssh_wrapper.sh"
purge_before_symlink([])
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment