Forge Home

mercurial

Mercurial Puppet module.

12,061 downloads

11,308 latest version

3.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.0 (latest)
  • 0.1.0
  • 0.0.2
  • 0.0.1
released Apr 3rd 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jgoettsch-mercurial', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jgoettsch-mercurial
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jgoettsch-mercurial --version 0.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: hg, mercurial

Documentation

jgoettsch/mercurial — version 0.2.0 Apr 3rd 2013

Mercurial module for Puppet

This module provides a class to manage mercurial.

Parameters

  • ensure: ensure value applied to the package. Can only be 'present', 'installed', 'absent', or 'purged' if repo is set. (default: 'present')
  • repo: Id of the repository to install from. Only supported on RedHat-based systems. The repository must be set up separately. (default: 'base')

Examples

To install mercurial:

class { 'mercurial': }

To install mercurial from the rpmforge-extras repository from a RedHat-based system:

class { 'mercurial':
  repo => 'rpmforge-extras',
}

To remove mercurial:

class { 'mercurial':
  ensure => 'absent'
}