From dcfc2047da39c8f6ce2a283494293a0606c25dd8 Mon Sep 17 00:00:00 2001 From: Stephen Hoekstra Date: Mon, 18 Sep 2017 23:59:11 +0200 Subject: [PATCH] Depend on nginx instead of chef_nginx --- README.md | 2 +- metadata.rb | 2 +- recipes/nginx.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 961f74e26..e0dec25c8 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The functionality that was previously in the nagios::client recipe has been move - apache2 4.0 or greater - build-essential -- chef_nginx +- nginx - php - yum-epel diff --git a/metadata.rb b/metadata.rb index 136c6e1f6..7ac7bf5e8 100644 --- a/metadata.rb +++ b/metadata.rb @@ -16,7 +16,7 @@ depends 'php-fpm', '>= 0.7.9' depends 'zap', '>= 0.6.0' -%w( build-essential php chef_nginx yum-epel nrpe ).each do |cb| +%w( build-essential php nginx yum-epel nrpe ).each do |cb| depends cb end diff --git a/recipes/nginx.rb b/recipes/nginx.rb index 5a2046d6f..d8dc41e8b 100644 --- a/recipes/nginx.rb +++ b/recipes/nginx.rb @@ -18,7 +18,7 @@ node.default['nagios']['server']['web_server'] = 'nginx' -include_recipe 'chef_nginx' +include_recipe 'nginx' node.default['php-fpm']['pools']['www']['user'] = node['nginx']['user'] node.default['php-fpm']['pools']['www']['group'] = node['nginx']['group']