%w(mod_php73
   php73-devel
   php73-fpm
   php73-gd
   pear1).each do |pkg|
  describe package(pkg) do
    it { should be_installed }
  end
end

describe yum.repo 'ius' do
  it { should be_enabled }
end

describe file '/etc/yum.repos.d/ius.repo' do
  it { should exist }
end

describe yum.repo 'ius-archive' do
  it { should_not exist }
  it { should_not be_enabled }
end

%w(
  mod_php73 php73-devel php73-fpm php73-gd pear1
).each do |pkg|
  describe package(pkg) do
    it { should be_installed }
  end
end

describe yum.repo 'ius' do
  it { should be_enabled }
end

describe file '/etc/yum.repos.d/ius.repo' do
  it { should exist }
end

describe yum.repo 'ius-archive' do
  it { should_not exist }
  it { should_not be_enabled }
end

Change formatting in php73 inspec test
Change formatting in php73 inspec test
