Skip to content

Commit

Permalink
only load mod::php on non EL systems
Browse files Browse the repository at this point in the history
on EL we default to FPM anyway
  • Loading branch information
evgeni committed Oct 4, 2023
1 parent 42a2d90 commit 29d542a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion spec/acceptance/zabbix_application_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
class { 'apache':
mpm_module => 'prefork',
}
include apache::mod::php
if $facts['os']['family'] != 'RedHat' {
include apache::mod::php
}
class { 'postgresql::globals':
locale => 'en_US.UTF-8',
manage_package_repo => $facts['os']['release']['major'] != '8',
Expand Down
4 changes: 3 additions & 1 deletion spec/acceptance/zabbix_host_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
class { 'apache':
mpm_module => 'prefork',
}
include apache::mod::php
if $facts['os']['family'] != 'RedHat' {
include apache::mod::php
}
class { 'postgresql::globals':
locale => 'en_US.UTF-8',
manage_package_repo => $facts['os']['release']['major'] != '8',
Expand Down
4 changes: 3 additions & 1 deletion spec/acceptance/zabbix_hostgroup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
class { 'apache':
mpm_module => 'prefork',
}
include apache::mod::php
if $facts['os']['family'] != 'RedHat' {
include apache::mod::php
}
class { 'postgresql::globals':
locale => 'en_US.UTF-8',
manage_package_repo => $facts['os']['release']['major'] != '8',
Expand Down
4 changes: 3 additions & 1 deletion spec/acceptance/zabbix_proxy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
class { 'apache':
mpm_module => 'prefork',
}
include apache::mod::php
if $facts['os']['family'] != 'RedHat' {
include apache::mod::php
}
class { 'postgresql::globals':
locale => 'en_US.UTF-8',
manage_package_repo => $facts['os']['release']['major'] != '8',
Expand Down
4 changes: 3 additions & 1 deletion spec/acceptance/zabbix_template_host_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
class { 'apache':
mpm_module => 'prefork',
}
include apache::mod::php
if $facts['os']['family'] != 'RedHat' {
include apache::mod::php
}
class { 'postgresql::globals':
locale => 'en_US.UTF-8',
manage_package_repo => $facts['os']['release']['major'] != '8',
Expand Down
4 changes: 3 additions & 1 deletion spec/acceptance/zabbix_template_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
class { 'apache':
mpm_module => 'prefork',
}
include apache::mod::php
if $facts['os']['family'] != 'RedHat' {
include apache::mod::php
}
class { 'postgresql::globals':
locale => 'en_US.UTF-8',
manage_package_repo => $facts['os']['release']['major'] != '8',
Expand Down

0 comments on commit 29d542a

Please sign in to comment.