diff options
author | Aaron Stone <aaron@serendipity.cx> | 2013-07-13 15:20:41 -0700 |
---|---|---|
committer | Aaron Stone <aaron@serendipity.cx> | 2013-07-13 15:20:41 -0700 |
commit | 1f03dd24bd352134d671d705013d2e4aecb7d266 (patch) | |
tree | ee089d47f298359e801913b8dd79e400bd072d8b /lib | |
parent | 1c8413e4fc88f84d813199100379d68c66a85a0e (diff) | |
parent | 264ddce21314b954ec713a7e51629b4dc7e72d3f (diff) | |
download | puppet-vcsrepo-1f03dd24bd352134d671d705013d2e4aecb7d266.tar.gz puppet-vcsrepo-1f03dd24bd352134d671d705013d2e4aecb7d266.tar.bz2 |
Merge pull request #40 from ajohnstone/master
Handle force in svn args
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/provider/vcsrepo/svn.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |