summaryrefslogtreecommitdiff
path: root/examples/hg/clone_basic_auth.pp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hg/clone_basic_auth.pp')
-rw-r--r--examples/hg/clone_basic_auth.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/hg/clone_basic_auth.pp b/examples/hg/clone_basic_auth.pp
new file mode 100644
index 00000000..984f8eaf
--- /dev/null
+++ b/examples/hg/clone_basic_auth.pp
@@ -0,0 +1,7 @@
+vcsrepo { '/path/to/repo':
+ ensure => latest,
+ provider => 'hg',
+ source => 'http://hg.example.com/myrepo',
+ basic_auth_username => 'hgusername',
+ basic_auth_password => 'hgpassword',
+}