Install yasnippet and vala-snippets packages
This commit is contained in:
18
elpa/yasnippet-20160924.2001/snippets/chef-mode/deploy
Normal file
18
elpa/yasnippet-20160924.2001/snippets/chef-mode/deploy
Normal file
@@ -0,0 +1,18 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: deploy
|
||||
# key: deploy
|
||||
# --
|
||||
deploy "/my/deploy/dir" do
|
||||
repo "git@github.com/whoami/provideroject"
|
||||
revision "abc123" # or "HEAD" or "TAG_for_1.0" or (subversion) "1234"
|
||||
user "deploy_ninja"
|
||||
enable_submodules true
|
||||
migrate true
|
||||
migration_command "rake db:migrate"
|
||||
environment "RAILS_ENV" => "production", "OTHER_ENV" => "foo"
|
||||
shallow_clone true
|
||||
action :deploy # or :rollback
|
||||
restart_command "touch tmp/restart.txt"
|
||||
git_ssh_wrapper "wrap-ssh4git.sh"
|
||||
scm_provider Chef::Provider::Git # is the default, for svn: Chefhef::Provider::Subversion
|
||||
end
|
Reference in New Issue
Block a user