Handle arg force for svn
authorAndrew Johnstone <andrew.johnstone@photobox.com>
Wed, 14 Nov 2012 15:19:50 +0000 (15:19 +0000)
committerAndrew Johnstone <andrew.johnstone@photobox.com>
Wed, 14 Nov 2012 15:19:50 +0000 (15:19 +0000)
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