summaryrefslogtreecommitdiff
path: root/lib/chef/resource/scm/subversion.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/scm/subversion.rb')
-rw-r--r--lib/chef/resource/scm/subversion.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/chef/resource/scm/subversion.rb b/lib/chef/resource/scm/subversion.rb
index f5637b04ad..8399225fdf 100644
--- a/lib/chef/resource/scm/subversion.rb
+++ b/lib/chef/resource/scm/subversion.rb
@@ -29,6 +29,18 @@ class Chef
provides :subversion
description "Use the **subversion** resource to manage source control resources that exist in a Subversion repository."
+ examples <<~DOC
+ **Get the latest version of an application**
+
+ ```ruby
+ subversion 'CouchDB Edge' do
+ repository 'http://svn.apache.org/repos/asf/couchdb/trunk'
+ revision 'HEAD'
+ destination '/opt/mysources/couch'
+ action :sync
+ end
+ ```
+ DOC
allowed_actions :force_export