Skip to content

Commit 5bc7879

Browse files
committed
Adding mod_version module to be activated by default
1 parent 2632e3b commit 5bc7879

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

manifests/mod/version.pp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# @summary
2+
# Installs `mod_version`.
3+
#
4+
# @see https://httpd.apache.org/docs/current/mod/mod_version.html for additional documentation.
5+
#
6+
class apache::mod::version {
7+
if $facts['os']['family'] == 'debian' {
8+
warning("${module_name}: module version_module is built-in and can't be loaded")
9+
} else {
10+
::apache::mod { 'version': }
11+
}
12+
}

0 commit comments

Comments
 (0)