Merge pull request #40 from ajohnstone/master
authorAaron Stone <aaron@serendipity.cx>
Sat, 13 Jul 2013 22:20:41 +0000 (15:20 -0700)
committerAaron Stone <aaron@serendipity.cx>
Sat, 13 Jul 2013 22:20:41 +0000 (15:20 -0700)
Handle force in svn args

lib/puppet/provider/vcsrepo/svn.rb

index b2a8880..c6603b0 100644 (file)
@@ -48,6 +48,11 @@ Puppet::Type.type(:vcsrepo).provide(:svn, :parent => Puppet::Provider::Vcsrepo)
       args.push('--password', @resource.value(:basic_auth_password))
       args.push('--no-auth-cache')
     end
+
+    if @resource.value(:force)
+      args.push('--force')
+    end
+
     return args
   end