passenger_repo

Module for installing the Phusion Passenger OSS/Enterprise APT repository
Ben S

Ben S

juniorsysadmin

10,790 downloads

5,792 latest version

4.3 quality score

Version information

  • 0.3.0 (latest)
  • 0.2.0
  • 0.1.1
  • 0.1.0
released Jul 3rd 2019
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=3.8.7 < 5.0.0
  • Debian, Ubuntu

Start using this module

Tags: passenger

Documentation

juniorsysadmin/passenger_repo — version 0.3.0 Jul 3rd 2019

passenger_repo

Build Status

Table of Contents

  1. Overview
  2. Usage
  3. Limitations
  4. Development

Overview

This module installs and enables the Phusion Passenger OSS or Enterprise APT repository. When run on a non-Debian variant it exits with no action performed.

Usage

Install the Phusion Passenger OSS APT repository:

include  '::passenger_repo'

Install the Phusion Passenger Enterprise APT repository:

class {'::passenger_repo':
  enterprise_license_key => 'abc12345',
  enterprise_token       => 'DEF6789',

Use the Phusion OSS package and the puppetlabs-apache module:

class {'::apache': }
class {'::passenger_repo': }->
class {'::apache::mod::passenger': }

Use the Phusion Enterprise package and the puppetlabs-apache module:

class {'::apache': }
class {'::passenger_repo':
  enterprise_license_key => 'abc12345',
  enterprise_token       => 'DEF6789',
}->
class {'::apache::mod::passenger':
  mod_package => 'libapache2-mod-passenger-enterprise',
}

Parameters

The following parameters are available in the passenger_repo module:

ensure

Whether to ensure the repository is present or absent. Defaults to present.

enterprise_license_key

The license key to use for installing the Phusion Enterprise APT repository. If set, the Enterprise repository will be installed. Otherwise the OSS APT repository is installed.

enterprise_repo_name

Used for the name of the Enterprise Phusion Passenger repository. Defaults to 'phusion_passenger_enterprise'.

enterprise_token

The download token used for downloading from the Phusion Enterprise APT repository.

key_server

The key server used for APT key fetches. Defaults to keyserver.ubuntu.com.

oss_repo_name

Used for the name of the Phusion Passenger OSS repository. Defaults to 'phusion_passenger'.

pin

Whether to perform APT pinning to pin the repository with a specific value. Defaults to false.

Limitations

This module has received limited testing on:

  • Debian 6
  • Debian 7
  • Ubuntu 10.04
  • Ubuntu 12.04
  • Ubuntu 14.04

Development

Patches are welcome.