Merge pull request #6 from justintime/svn-basic-auth
authorNibalizer <krum.spencer@gmail.com>
Thu, 18 Aug 2011 17:56:51 +0000 (10:56 -0700)
committerNibalizer <krum.spencer@gmail.com>
Thu, 18 Aug 2011 17:56:51 +0000 (10:56 -0700)
Adding basic_auth feature and adding --non-interactive to all svn command

1  2 
lib/puppet/provider/vcsrepo/svn.rb

@@@ -55,10 -66,10 +67,11 @@@ Puppet::Type.type(:vcsrepo).provide(:sv
    end
  
    def revision=(desired)
+     args = buildargs.push('update', '-r', desired)
      at_path do
-       svn('update', '-r', desired)
+       svn(*args)
      end
 +    update_owner
    end
  
    private