Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning- committed Jul 23, 2024
1 parent 533a595 commit 4fff273
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions spec/spec_helper_acceptance_local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,26 @@ def setup_webserver
MANIFEST

if os[:family].eql?('debian')
php_extensions = <<-MANIFEST
gd => {},
json => {},
pdo => {},
pgsql => {},
mysqlnd => {},
posix => {},
sqlite3 => {},
MANIFEST
php_extensions = if os[:release].to_i >= 12
<<-MANIFEST
gd => {},
pdo => {},
pgsql => {},
mysqlnd => {},
posix => {},
sqlite3 => {},
MANIFEST
else
<<-MANIFEST
gd => {},
json => {},
pdo => {},
pgsql => {},
mysqlnd => {},
posix => {},
sqlite3 => {},
MANIFEST
end
end

if os[:family].eql?('ubuntu')
Expand Down Expand Up @@ -137,7 +148,7 @@ class { 'apache::mod::fcgid':
}
apache::vhost { 'bacula_web':
servername => $fqdn,
servername => $facts['networking']['fqdn'],
port => 80,
docroot => '/var/www/html/bacula-web/public',
manage_docroot => false,
Expand Down

0 comments on commit 4fff273

Please sign in to comment.