summaryrefslogtreecommitdiff
path: root/lib/chef/resource/subversion.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-05-27 16:06:53 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-01 13:21:21 -0700
commit236570dc9605ac312b44508b1c3a6a0e7c19b4dc (patch)
tree966a79db0d03021e2ed0e5a9ba2bf5073fff153c /lib/chef/resource/subversion.rb
parent02e8874637dd661b5aaf656a5c2d6fbbb5795619 (diff)
downloadchef-236570dc9605ac312b44508b1c3a6a0e7c19b4dc.tar.gz
Add default_action and allowed_actions to Resource class, remove from LWRP
Diffstat (limited to 'lib/chef/resource/subversion.rb')
-rw-r--r--lib/chef/resource/subversion.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/subversion.rb b/lib/chef/resource/subversion.rb
index f1b0391a8c..e12d939ca6 100644
--- a/lib/chef/resource/subversion.rb
+++ b/lib/chef/resource/subversion.rb
@@ -23,12 +23,12 @@ class Chef
class Resource
class Subversion < Chef::Resource::Scm
use_automatic_resource_name
+ allowed_actions :force_export
def initialize(name, run_context=nil)
super
@svn_arguments = '--no-auth-cache'
@svn_info_args = '--no-auth-cache'
- allowed_actions << :force_export
end
# Override exception to strip password if any, so it won't appear in logs and different Chef notifications