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
parent
commit
0eef64306b
No account linked to committer's email address
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      test/integration/default/controls/package_spec.rb

+ 8
- 1
test/integration/default/controls/package_spec.rb 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'

Loading…
Cancel
Save