Skip to content

Commit

Permalink
Add tests for Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
fetzerms committed Dec 30, 2024
1 parent 0da0073 commit 8a7895a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/acceptance/mod_php_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ class { 'apache::mod::php': }
describe file("#{apache_hash['mod_dir']}/php8.1.conf") do
it { is_expected.to contain 'DirectoryIndex index.php' }
end
elsif os[:family] == 'ubuntu' && os[:release] == '24.04'
describe file("#{apache_hash['mod_dir']}/php8.3.conf") do
it { is_expected.to contain 'DirectoryIndex index.php' }
end
elsif os[:family] == 'redhat' && os[:release] =~ %r{^(8)\b}
describe file("#{apache_hash['mod_dir']}/php7.conf") do
it { is_expected.to contain 'DirectoryIndex index.php' }
Expand Down

0 comments on commit 8a7895a

Please sign in to comment.