sous-chefs / nginx

Development repository for the nginx cookbook
https://supermarket.chef.io/cookbooks/nginx
Apache License 2.0
553 stars 806 forks source link

repo_passenger recipe fails. #450

Closed daveallen closed 6 years ago

daveallen commented 6 years ago

Cookbook version

8.0.1

Chef-client version

13.6.4

Platform Details

Ubuntu 16.04

Scenario:

Install Nginx with Passenger

Steps to Reproduce:

Set these attributes: default['nginx']['install_method'] = 'repo_passenger' default['nginx']['repo_source'] = 'passenger' default['nginx']['package_name'] = 'nginx-extras' default['nginx']['passenger']['install_method'] = 'package'

Expected Result:

Nginx and Passenger to be installed.

Actual Result:

[2018-02-18T01:10:34+00:00] ERROR: resource template[/etc/nginx/conf.d/passenger.conf] is configured to notify resource service[nginx] with action reload, but service[nginx] cannot be found in the resource collection.

Action

I have submitted a pull request that fixes this.

daveallen commented 6 years ago

tas50 fixed this on July 23rd

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.