Skip to content

Commit

Permalink
explicitly enable mods dir, autoindex, alias and mime
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 28, 2024
1 parent 10a49a5 commit 79be328
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions puppet/modules/web/manifests/vhost/downloads.pp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
if $facts['os']['family'] != 'RedHat' or $facts['os']['release']['major'] != '7' {
include apache::mod::expires
}
include apache::mod::dir
include apache::mod::autoindex
include apache::mod::alias
include apache::mod::mime

file { "${downloads_directory}/HEADER.html":
ensure => file,
Expand Down
4 changes: 4 additions & 0 deletions puppet/modules/web/manifests/vhost/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@
if $facts['os']['family'] != 'RedHat' or $facts['os']['release']['major'] != '7' {
include apache::mod::expires
}
include apache::mod::dir
include apache::mod::autoindex
include apache::mod::alias
include apache::mod::mime

secure_ssh::rsync::receiver_setup { 'web':
user => 'website',
Expand Down

0 comments on commit 79be328

Please sign in to comment.