Skip to content

Commit

Permalink
only include expires on el9 -- el7 doesn't disable default mods
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Aug 29, 2024
1 parent 276a6d9 commit c57437a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion puppet/modules/web/manifests/base.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
}

include apache
include apache::mod::expires
if $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '9' {
include apache::mod::expires
}

file { '/var/www/vhosts':
ensure => directory,
Expand Down

0 comments on commit c57437a

Please sign in to comment.