Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libnginx-mod-http-passenger should be installed instead of passenger #1340

Closed
jengell opened this issue Aug 8, 2019 · 0 comments · Fixed by #1376
Closed

libnginx-mod-http-passenger should be installed instead of passenger #1340

jengell opened this issue Aug 8, 2019 · 0 comments · Fixed by #1376

Comments

@jengell
Copy link
Contributor

jengell commented Aug 8, 2019

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: Any
  • Ruby: Any
  • Distribution: Debian 9 and Ubuntu 18.04+
  • Module version: Any

How to reproduce (e.g Puppet code you use)

add the following to hiera on a debian 9 or Ubuntu 18.04 and apply then nginx module

nginx::package_source: passenger
nginx::package_name: nginx-extras
nginx::http_cfg_append:
  'passenger_root': '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini'
  'passenger_ruby': '/usr/bin/passenger_free_ruby

What are you seeing

Nginx throws an error regarding passenger_root

nginx: configuration file /etc/nginx/nginx.conf test failed
nginx: [emerg] unknown directive "passenger_root" in /etc/nginx/nginx.conf:64

What behaviour did you expect instead

A valid nginx configuration thats able to understand passenger.

Any additional information you'd like to impart

The passenger install guide says to use libnginx-mod-http-passenger and not passenger for Debian 9 and Ubuntu 18.04. libnginx-mod-http-passenger will pull passenger as a dependency.

https://www.phusionpassenger.com/docs/tutorials/deploy_to_production/installations/oss/ownserver/ruby/nginx/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant