Browse Source
Merge pull request #190 from sticky-note/fix/tests
fix(tests): fix package name for debian
tags/v0.39.2
Nicolas Rodriguez
5 years ago
No account linked to committer's email address
1 changed files with
8 additions and
1 deletions
-
test/integration/default/controls/package_spec.rb
|
|
@@ -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' |