From 264ddce21314b954ec713a7e51629b4dc7e72d3f Mon Sep 17 00:00:00 2001 From: Andrew Johnstone Date: Wed, 14 Nov 2012 15:19:50 +0000 Subject: Handle arg force for svn --- lib/puppet/provider/vcsrepo/svn.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/puppet/provider/vcsrepo/svn.rb b/lib/puppet/provider/vcsrepo/svn.rb index b2a8880..c6603b0 100644 --- a/lib/puppet/provider/vcsrepo/svn.rb +++ b/lib/puppet/provider/vcsrepo/svn.rb @@ -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 -- cgit v1.2.3