diff options
author | Stuart Whelan <stuart@somepointinthefuture.co.nz> | 2014-06-21 17:26:14 +1200 |
---|---|---|
committer | Aaron Stone <aaron@serendipity.cx> | 2014-06-23 14:57:46 -0700 |
commit | 2ff03cff1795d3e43c922f7bceb235ce69175013 (patch) | |
tree | d901938009082ea30fc23762a9692ff0b331a61c /README.markdown | |
parent | e42310c7fb082a20f4155d801e41b980400ae045 (diff) | |
download | puppet-vcsrepo-2ff03cff1795d3e43c922f7bceb235ce69175013.tar.gz puppet-vcsrepo-2ff03cff1795d3e43c922f7bceb235ce69175013.tar.bz2 |
Added support for basic authentication to hg provider
Updated unit tests
Updated hg readme and added examples
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index 39cd249..99c5ac9 100644 --- a/README.markdown +++ b/README.markdown @@ -306,6 +306,16 @@ To specify an SSH identity key, identity => "/home/user/.ssh/id_dsa, } +To specify a username and password for HTTP Basic authentication, + + vcsrepo { "/path/to/repo": + ensure => latest, + provider => hg, + source => 'http://hg.example.com/myrepo', + basic_auth_username => 'hgusername', + basic_auth_password => 'hgpassword', + } + #####Sources that use SSH When your source uses SSH, such as 'ssh://...', you can manage your SSH keys with Puppet using the [require](http://docs.puppetlabs.com/references/stable/metaparameter.html#require) metaparameter in `vcsrepo` to ensure they are present. @@ -470,4 +480,4 @@ Puppet Labs modules on the Puppet Forge are open projects, and community contrib We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things. -You can read the complete module contribution guide on the Puppet Labs wiki.
\ No newline at end of file +You can read the complete module contribution guide on the Puppet Labs wiki. |