summaryrefslogtreecommitdiff
path: root/lib/chef/resource/deploy.rb
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-03-25 14:55:09 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-03-25 14:55:09 -0700
commit5e0b48f2b6128dd40a5e9b1598274950cdb43fd5 (patch)
tree86f9b6548eaf10c03809c6e7fc3ba667e3a9e63c /lib/chef/resource/deploy.rb
parentbe67482cf2b8819a821bae96c8abd37a649e4c1c (diff)
downloadchef-5e0b48f2b6128dd40a5e9b1598274950cdb43fd5.tar.gz
Revert "Merge pull request #3004 from chef/lcg/deploy-provider-nillable"
This reverts commit 4b0f63b90cc72365fccd3f4f2e07721de7af80e6, reversing changes made to b023ada18ed90bb9d2545760f93e6210e083dc8d.
Diffstat (limited to 'lib/chef/resource/deploy.rb')
-rw-r--r--lib/chef/resource/deploy.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/resource/deploy.rb b/lib/chef/resource/deploy.rb
index 9beeb02534..4252aa230f 100644
--- a/lib/chef/resource/deploy.rb
+++ b/lib/chef/resource/deploy.rb
@@ -63,7 +63,6 @@ class Chef
@deploy_to = name
@environment = nil
@repository_cache = 'cached-copy'
- # XXX: if copy_exclude is a kind_of String why is initialized to an array???
@copy_exclude = []
@purge_before_symlink = %w{log tmp/pids public/system}
@create_dirs_before_symlink = %w{tmp public config}
@@ -79,7 +78,7 @@ class Chef
@scm_provider = Chef::Provider::Git
@svn_force_export = false
@allowed_actions.push(:force_deploy, :deploy, :rollback)
- @additional_remotes = {}
+ @additional_remotes = Hash[]
@keep_releases = 5
@enable_checkout = true
@checkout_branch = "deploy"