Forge Home

perlbrew

Manages perlbrew based Perl5 installations

415 downloads

415 latest version

5.0 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

  • 1.0.0 (latest)
released Jul 18th 2022
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 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, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.0.0 < 8.0.0
  • , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'qtechnologies-perlbrew', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add qtechnologies-perlbrew
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install qtechnologies-perlbrew --version 1.0.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

Documentation

qtechnologies/perlbrew — version 1.0.0 Jul 18th 2022

Puppet perlbrew Module

Table of Contents

Overview

Manages perlbrew based Perl5 installations

Description

This is a puppet module for basic management of perlbrew based Perl5 installations. It is designed to manage a single instance of perlbrew (which can have multiple versions of perl installed into it).

Usage

See the REFERENCE.md file for a complete reference.

Examples

Hiera

It can be fully implement in Hiera like this:

classes:
  - perlbrew

perlbrew::versions::install:
  - 5.32.1
  - 5.36.0
perlbrew::versions::purge_builds: true
perlbrew::modules::install:
  5.32.1:
  - Module::Build
  5.36.0:
  - Module::Build
  - String::ShortHostname

Puppet code

Th class can be invoked via code, but it's still designed to be configured via Hiera, the versions and modules installed are still best specified through Hiera.

class { 'perlbrew': 
  install_root => /usr/local/perlbrew,
  owner => 'perl',
  group => 'perl',
  create_user => true,
  rc_files => ['/etc/profile.d/perlbrew.sh'],
}

Limitations

At present, this module is only capable of supporting one perlbrew installation per system. Let me if there is a use case for multiple installs. I'm thinking with the advent of containers, really unique requirements as better addressed by them. Individual users can still have there own modules installed via local::lib and their desired perl version set while the perl versions are updated for the whole host.

Tested Platforms

  • openSUSE 15.4 (should work on any *NIX environment though)

Versioning

This module is versioned according to the Semantic Versioning 2.0.0 specification.

Support

Please log tickets and issues at github

See Also