Browse Source

fix(tests): fix package name for debian

tags/v0.39.2
sticky-note 5 years ago
parent
commit
4f75eac5fe
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