sous-chefs / php

Development repository for the php cookbook
https://supermarket.chef.io/cookbooks/php
Apache License 2.0
443 stars 491 forks source link

Priority of extensions ignored #293

Closed mdiniz closed 4 years ago

mdiniz commented 4 years ago

:ghost: Brief Description

The priority of extensions is entered as a parameter but not rendered on the template

:pancakes: Cookbook version

7.1.0

:woman_cook: Chef-Infra Version

16.1.16

:tophat: Platform details

Ubuntu 20.04

Steps To Reproduce

Pass a priority to the resource php_pear:

php_pear 'raphf' do
  action :install
  version '2.0.1'
  channel 'pecl.php.net'
  priority '99'
end

Verify that the extension file created does NOT contain the given priority.

:police_car: Expected behavior

A line with the priority (on this specific format) in the extension file created

; priority=99