Merge pull request #190 from sticky-note/fix/tests

fix(tests): fix package name for debian
This commit is contained in:
Nicolas Rodriguez 2019-08-14 00:30:29 +02:00 committed by GitHub
commit 0eef64306b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,14 @@ control 'Php package' do
pkg_name =
case os[:family]
when 'debian', 'redhat', 'fedora'
when 'debian'
case os[:name]
when 'ubuntu'
'php'
when 'debian'
'php7.0'
end
when 'redhat', 'fedora'
'php'
when 'suse'
'php5'