summaryrefslogtreecommitdiff
path: root/README.HG.markdown
diff options
context:
space:
mode:
authorArnoud de Jonge <arnoud@de-jonge.org>2013-04-15 17:56:44 +0200
committerArnoud de Jonge <arnoud@de-jonge.org>2013-07-16 15:43:33 +0200
commitc8ac78614dea3b2409f88cf7fb7901cbd78ce23d (patch)
tree71b01c117f7db4a62e122c2ce40487395ac08862 /README.HG.markdown
parent054d16421c782dd76a6990856bb78797abe36750 (diff)
downloadpuppet-vcsrepo-c8ac78614dea3b2409f88cf7fb7901cbd78ce23d.tar.gz
puppet-vcsrepo-c8ac78614dea3b2409f88cf7fb7901cbd78ce23d.tar.bz2
Added ssh identity
hg_with_identity function renamed to hg_wrapper. Added ability to specify a user and an SSH identity. Added extra options to the ssh command. Identity and user fixed Requirement for pp deleted.
Diffstat (limited to 'README.HG.markdown')
-rw-r--r--README.HG.markdown22
1 files changed, 20 insertions, 2 deletions
diff --git a/README.HG.markdown b/README.HG.markdown
index b1680c8..55ceef4 100644
--- a/README.HG.markdown
+++ b/README.HG.markdown
@@ -27,7 +27,7 @@ For a specific changeset, use `revision`:
vcsrepo { "/path/to/repo":
ensure => present,
provider => hg,
- source => "http://hg.example.com/myrepo"
+ source => "http://hg.example.com/myrepo",
revision => '21ea4598c962'
}
@@ -36,10 +36,28 @@ You can also set `revision` to a tag:
vcsrepo { "/path/to/repo":
ensure => present,
provider => hg,
- source => "http://hg.example.com/myrepo"
+ source => "http://hg.example.com/myrepo",
revision => '1.1.2'
}
+Check out as a user:
+
+ vcsrepo { "/path/to/repo":
+ ensure => present,
+ provider => hg,
+ source => "http://hg.example.com/myrepo",
+ user => 'user'
+ }
+
+Specify an SSH identity key:
+
+ vcsrepo { "/path/to/repo":
+ ensure => present,
+ provider => hg,
+ source => "ssh://hg@hg.example.com/myrepo",
+ identity => "/home/user/.ssh/id_dsa,
+ }
+
For sources that use SSH (eg, `ssh://...`)
------------------------------------------