Chef recipe for nginx passenger install (ubuntu, debian) from repository

03/04/2014

Here is my part of chef recipe for installing nginx + passenger 4.x module. This recipe depends on ‘nginx’, ‘apt’ recipes.

package ‘apt-transport-https’.
package ‘ca-certificates’

apt_repository «nginx-passenger» do
uri «https://oss-binaries.phusionpassenger.com/apt/passenger»
distribution node[‘lsb’][‘codename’]
components [«main»]
keyserver «keyserver.ubuntu.com»
key «561F9B9CAC40B2F7»
end

include_recipe ‘apt’ ## this will do apt-get update

package ‘nginx-extras’
package ‘passenger’

This will add repository, sign key and install passenger from phusion apt repository.

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *


*