Puppet Class: bigbigpuppetfacts::profile::compressfactsgems

Defined in:
manifests/profile/compressfactsgems.pp

Summary

A short summary of the purpose of this class

Overview

A description of what this class does

Examples:

include bigbigpuppetfacts::profile::compressfactsgems

Parameters:

  • state (Enum[ 'present', 'absent']) (defaults to: 'present')


7
8
9
10
11
12
13
14
15
16
# File 'manifests/profile/compressfactsgems.pp', line 7

class bigbigpuppetfacts::profile::compressfactsgems(Enum[ 'present', 'absent'] $state = 'present' ) {
  package { ['ruby-xz','rbzip2']:
    ensure   => $state,
    provider => puppet_gem,
    # If a custom RubyGem repository needs to be used (such as an internal
    # mirror, or corporate Artifactory repo), pass it with `source`.
    # https://puppet.com/docs/puppet/7/types/package.html#package-provider-gem
    source   => 'https://rubygems.org',
  }
}