Skip to content

Allow the gem source to be configured for air gapped environments. #76

@16c7x

Description

@16c7x

Use Case

The installation of the toml-rb will fail for people in an airgapped environment.

Describe the Solution You Would Like

In profile/toml.pp change

  package { 'toml-rb':
    ensure   => $version,
    provider => 'puppetserver_gem',
    notify   => Service[$service_name],
  }

to

  package { 'toml-rb':
    ensure   => $version,
    provider => 'puppetserver_gem',
    notify     => Service[$service_name],
    source   => $source,
  }

A default source would need to be setup

Describe Alternatives You've Considered

There isn't an alternative if the machine cannot get out to the default source.

Additional Context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions