diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-17 19:02:26 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-17 19:02:26 -0700 |
commit | 33d7ad4d680b3f29a2a24848c074da84f1c25eb6 (patch) | |
tree | c2a50d1cab5ae0c128086b3fa54789217b958b0a /lib/chef/resource/scm.rb | |
parent | e2eaa3fdcd9a5e2f46d90f799eedcd86cc41eb6a (diff) | |
download | chef-33d7ad4d680b3f29a2a24848c074da84f1c25eb6.tar.gz |
Move subversion specific properties from scm to subversionscm_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 <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/scm.rb')
-rw-r--r-- | lib/chef/resource/scm.rb | 21 |
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 |