From 33d7ad4d680b3f29a2a24848c074da84f1c25eb6 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Sat, 17 Mar 2018 19:02:26 -0700 Subject: Move subversion specific properties from scm to subversion We actually set the defaults for these in the subversion property, but the actual properties are in scm. Move them to subversion since they are subversion specific. Signed-off-by: Tim Smith --- lib/chef/resource/scm.rb | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'lib/chef/resource/scm.rb') 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 -- cgit v1.2.1