diff options
Diffstat (limited to 'examples/hg')
-rw-r--r-- | examples/hg/clone.pp | 6 | ||||
-rw-r--r-- | examples/hg/clone_basic_auth.pp | 7 | ||||
-rw-r--r-- | examples/hg/init_repo.pp | 4 |
3 files changed, 17 insertions, 0 deletions
diff --git a/examples/hg/clone.pp b/examples/hg/clone.pp new file mode 100644 index 00000000..be2d955d --- /dev/null +++ b/examples/hg/clone.pp @@ -0,0 +1,6 @@ +vcsrepo { '/tmp/vcstest-hg-clone': + ensure => present, + provider => hg, + source => 'http://hg.basho.com/riak', + revision => 'riak-0.5.3', +} 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', +} diff --git a/examples/hg/init_repo.pp b/examples/hg/init_repo.pp new file mode 100644 index 00000000..a8908040 --- /dev/null +++ b/examples/hg/init_repo.pp @@ -0,0 +1,4 @@ +vcsrepo { '/tmp/vcstest-hg-init': + ensure => present, + provider => hg, +} |