From 2ff03cff1795d3e43c922f7bceb235ce69175013 Mon Sep 17 00:00:00 2001 From: Stuart Whelan Date: Sat, 21 Jun 2014 17:26:14 +1200 Subject: Added support for basic authentication to hg provider Updated unit tests Updated hg readme and added examples --- examples/hg/clone_basic_auth.pp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 examples/hg/clone_basic_auth.pp (limited to 'examples/hg/clone_basic_auth.pp') diff --git a/examples/hg/clone_basic_auth.pp b/examples/hg/clone_basic_auth.pp new file mode 100644 index 0000000..1931e1f --- /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', +} -- cgit v1.2.3 From 9872c6dec02a50e886a5dd622fd0fa32143cccdb Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Fri, 11 Jul 2014 14:45:10 -0700 Subject: Fix lint errors --- examples/hg/clone_basic_auth.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/hg/clone_basic_auth.pp') diff --git a/examples/hg/clone_basic_auth.pp b/examples/hg/clone_basic_auth.pp index 1931e1f..984f8ea 100644 --- a/examples/hg/clone_basic_auth.pp +++ b/examples/hg/clone_basic_auth.pp @@ -1,7 +1,7 @@ vcsrepo { '/path/to/repo': - ensure => latest, - provider => hg, - source => 'http://hg.example.com/myrepo', + ensure => latest, + provider => 'hg', + source => 'http://hg.example.com/myrepo', basic_auth_username => 'hgusername', basic_auth_password => 'hgpassword', } -- cgit v1.2.3