diff options
author | Nibalizer <krum.spencer@gmail.com> | 2011-08-18 10:56:51 -0700 |
---|---|---|
committer | Nibalizer <krum.spencer@gmail.com> | 2011-08-18 10:56:51 -0700 |
commit | 18d4cf890c01e756c05cdf4e40972a4b0b229d66 (patch) | |
tree | 9c3d9eb4e1079ee4984b789e57c8c5f171d876cf /lib/puppet/type | |
parent | 2477a2ed69d3f3443b5d941ae9484d000eb36dbb (diff) | |
parent | d84d3e29c9e3f1d9771e5df5ab659e16513a9a06 (diff) | |
download | puppet-vcsrepo-18d4cf890c01e756c05cdf4e40972a4b0b229d66.tar.gz puppet-vcsrepo-18d4cf890c01e756c05cdf4e40972a4b0b229d66.tar.bz2 |
Merge pull request #6 from justintime/svn-basic-auth
Adding basic_auth feature and adding --non-interactive to all svn command
Diffstat (limited to 'lib/puppet/type')
-rw-r--r-- | lib/puppet/type/vcsrepo.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/puppet/type/vcsrepo.rb b/lib/puppet/type/vcsrepo.rb index 6b35779..9bf8311 100644 --- a/lib/puppet/type/vcsrepo.rb +++ b/lib/puppet/type/vcsrepo.rb @@ -5,7 +5,8 @@ Puppet::Type.newtype(:vcsrepo) do feature :gzip_compression, "The provider supports explicit GZip compression levels" - + feature :basic_auth, + "The provider supports HTTP Basic Authentication" feature :bare_repositories, "The provider differentiates between bare repositories and those with working copies", @@ -136,6 +137,14 @@ Puppet::Type.newtype(:vcsrepo) do end end + newparam :basic_auth_username, :required_features => [:basic_auth] do + desc "HTTP Basic Auth username" + end + + newparam :basic_auth_password, :required_features => [:basic_auth] do + desc "HTTP Basic Auth password" + end + newparam :identity, :required_features => [:ssh_identity] do desc "SSH identity file" end |