mercurial

pdk
Puppet module to install and configure Mercurial
Frank Van Damme

Frank Van Damme

frankvandamme

886 downloads

886 latest version

3.1 quality score

Version information

  • 0.1.0 (latest)
released Apr 29th 2020
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
  • CentOS
    ,
    OracleLinux
    ,
    RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu
    ,
    Solaris

Start using this module

Documentation

frankvandamme/mercurial — version 0.1.0 Apr 29th 2020

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 name
    • prefix, username, password, schemes: These correspond to the same keys in the auth section of hgrc.
  • 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