Skip to content

Commit

Permalink
Stop managing mime support package on Debian
Browse files Browse the repository at this point in the history
All apache2 packages on Debian 10 and later already have a hard dependency on
the `mime-support` package. While `mime-support` still exists on Debian 12
as a transitonal package, upcoming Debian 13 has removed it entirely.

This sets the `$mime_support_package` to undefined so that the package
isn't managed on Debian, since it doesn't need to be.
  • Loading branch information
jcharaoui committed Mar 23, 2024
1 parent 1756ce0 commit 95a2ab0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions manifests/mod/mime.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# @see https://httpd.apache.org/docs/current/mod/mod_mime.html for additional documentation.
#
class apache::mod::mime (
String $mime_support_package = $apache::params::mime_support_package,
String $mime_types_config = $apache::params::mime_types_config,
Optional[Hash] $mime_types_additional = undef,
Optional[String] $mime_support_package = $apache::params::mime_support_package,
String $mime_types_config = $apache::params::mime_types_config,
Optional[Hash] $mime_types_additional = undef,
) inherits apache::params {
include apache
$_mime_types_additional = pick($mime_types_additional, $apache::mime_types_additional)
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@
$keepalive = 'On'
$keepalive_timeout = 15
$max_keepalive_requests = 100
$mime_support_package = 'mime-support'
$mime_types_config = '/etc/mime.types'
$mime_support_package = undef
$docroot = '/var/www/html'
$cas_cookie_path = '/var/cache/apache2/mod_auth_cas/'
$mellon_lock_file = undef
Expand Down

0 comments on commit 95a2ab0

Please sign in to comment.