sous-chefs/php

Default recipe pulls in Apache on Ubuntu 20.04

Closed this issue ยท 1 comments

hrak commented

๐Ÿ‘ป Brief Description

The default recipe pulls in Apache on Ubuntu 20.04 (it doesn't on Ubuntu < 20.04)

The problem can be solved by specifying specific versions for node['php']['packages'], similar to what is in attributes/default.rb for versions of Ubuntu other that 20.04.

default['php']['packages']         = %w(php7.4-cgi php7.4 php7.4-dev php7.4-cli php-pear)

๐Ÿฅž Cookbook version

v8.0.0

๐Ÿ‘ฉโ€๐Ÿณ Chef-Infra Version

chef 14.15.6

๐ŸŽฉ Platform details

Ubuntu 20.04

Steps To Reproduce

Steps to reproduce the behavior:

  1. converge default recipe
  2. dpkg -l | grep apache

๐Ÿš“ Expected behavior

Apache not being pulled in as a dep.

@hrak do you feel you could make a PR which addresses this? We'll gladly review and merge it in if it looks good. Thanks!