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.
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',
}
The following parameters are available in the passenger_repo module:
Whether to ensure the repository is present or absent. Defaults to present.
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.
Used for the name of the Enterprise Phusion Passenger repository. Defaults to 'phusion_passenger_enterprise'.
The download token used for downloading from the Phusion Enterprise APT repository.
The key (fingerprint) id to fetch from the key server.
The key server used for APT key fetches. Defaults to keyserver.ubuntu.com.
Used for the name of the Phusion Passenger OSS repository. Defaults to 'phusion_passenger'.
Whether to perform APT pinning to pin the repository with a specific
value. Defaults to false
.
This module has received limited testing on:
- Debian 6
- Debian 7
- Ubuntu 10.04
- Ubuntu 12.04
- Ubuntu 14.04
Patches are welcome.