summaryrefslogtreecommitdiff
path: root/lib/chef/resource/scm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/scm.rb')
-rw-r--r--lib/chef/resource/scm.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/chef/resource/scm.rb b/lib/chef/resource/scm.rb
index 8bc55a7974..2fef1a1466 100644
--- a/lib/chef/resource/scm.rb
+++ b/lib/chef/resource/scm.rb
@@ -24,10 +24,6 @@ class Chef
default_action :sync
allowed_actions :checkout, :export, :sync, :diff, :log
- def initialize(name, run_context = nil)
- super
- end
-
property :destination, String, name_property: true, identity: true
property :repository, String
property :revision, String, default: "HEAD"
@@ -45,23 +41,6 @@ class Chef
property :checkout_branch, String, default: "deploy"
property :environment, [Hash, nil], default: nil
- def svn_arguments(arg = nil)
- @svn_arguments, arg = nil, nil if arg == false
- set_or_return(
- :svn_arguments,
- arg,
- :kind_of => String
- )
- end
-
- def svn_info_args(arg = nil)
- @svn_info_args, arg = nil, nil if arg == false
- set_or_return(
- :svn_info_args,
- arg,
- :kind_of => String)
- end
-
alias :env :environment
end
end