Skip to content

paulccarey/puppet-passenger_repo

 
 

Repository files navigation

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.

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.

About

Puppet module to install the Phusion Passenger OSS or Enterprise APT repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 73.5%
  • Puppet 26.2%
  • Pascal 0.3%