Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file is used to list changes made in each version of the apache2 cookbook.

## Unreleased

- Fix issue when using apache2_mod_ssl resource instead a wrapper resource

## 9.0.5 - *2023-09-28*

## 9.0.4 - *2023-09-04*
Expand Down
8 changes: 3 additions & 5 deletions resources/mod_ssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,9 @@

action :create do
if platform_family?('rhel', 'fedora', 'suse', 'amazon')
with_run_context :root do
package new_resource.mod_ssl_pkg do
notifies :run, 'execute[generate-module-list]', :immediately
only_if { platform_family?('rhel', 'fedora', 'amazon') }
end
package new_resource.mod_ssl_pkg do
notifies :run, 'execute[generate-module-list]', :immediately
only_if { platform_family?('rhel', 'fedora', 'amazon') }
end
end

Expand Down