Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
- Puppet >= 4.10.0 < 7.0.0
- , , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'frankvandamme-mercurial', '0.1.1'
Learn more about managing modules with a PuppetfileDocumentation
Mercurial
Mercurial is a version control system. Since years now overshadowed by Git, you can think of Mercurial as a distributed version control tool for human beings, as opposed to the much more complex and hard to work with ways of Git.
Usage
include mercurial
Which will just install the package.
main class parameters
package_ensure
: package presence (absent, present, latest); see Puppetlabs' package type documentation.provider
: package provider
The following affect /etc/mercurial/hgrc, the system wide config file, which influences the behaviour of the Mercurial command insofar the user does not override the settings in his own .hgrc. They are named the same as the entries therein. For reference, see man 5 hgrc
for details.
hgrc configuration
More main class parameters:
auth_groups
: An array of hashes used to set up authentication (think twice before you set this system wide): each element should contain these keys:group
, which is an arbitrary, but descriptive nameprefix
,username
,password
,schemes
: These correspond to the same keys in theauth
section ofhgrc
.
trusted_groups
: useful if you're updating a repository owned by a group that is not your primary group. Hg will trust the group owning the repository if it is listed here.http_proxy
: proxy to use when pulling over http.no_http_proxy
: urls you want to bypass your proxy for.
Class
Compatibility
Tested on Debian, Ubuntu, and CentOS/RedHat type operating systems. At some point, used on OpenIndiana.
References
- Mercurial: https://www.mercurial-scm.org/
- You might also want to complement this module with the vcsrepo module by Puppetlabs.
Changelog
All notable changes to this project will be documented in this file.
Release 0.2.0
Features
- support for http proxy and setting exceptions to using it
- setting trusted groups
- Red Hat and OpenIndiana support
Bugfixes
Known Issues
Release 0.1.0
Initial commit featuring a package and config file.