Skip to content

Commit

Permalink
Remove env.custom from php recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
EY Chef committed Aug 28, 2019
1 parent 6376ae9 commit b8011ae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions cookbooks/php/files/default/env.custom

This file was deleted.

9 changes: 0 additions & 9 deletions cookbooks/php/recipes/fpm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,6 @@ class Chef::Recipe
ssh_username = node.engineyard.environment.ssh_username
# generate an fpm pool for each php app
app_names.each do |app_name|
cookbook_file "/data/#{app_name}/shared/config/env.custom" do
source "env.custom"
owner node.engineyard.environment.ssh_username
group node.engineyard.environment.ssh_username
mode 0755
backup 0
not_if { FileTest.exists?("/data/#{app_name}/shared/config/env.custom") }
end

mc_hostnames = node.engineyard.environment.instances.map{|i| i['private_hostname'] if i['role'][/^app|solo/]}.compact.map {|i| "#{i}:11211"}

template "/data/#{app_name}/shared/config/fpm-pool.conf" do
Expand Down

0 comments on commit b8011ae

Please sign in to comment.