forked from puppetlabs/puppetlabs-apache
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
72 changed files
with
277 additions
and
1,689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
# @summary | ||
# Installs `mod_authn_core`. | ||
# | ||
# @param apache_version | ||
# The version of apache being run. | ||
# | ||
# @see https://httpd.apache.org/docs/current/mod/mod_authn_core.html for additional documentation. | ||
# | ||
class apache::mod::authn_core ( | ||
Optional[String] $apache_version = $apache::apache_version | ||
) { | ||
if versioncmp($apache_version, '2.4') >= 0 { | ||
::apache::mod { 'authn_core': } | ||
} | ||
class apache::mod::authn_core { | ||
::apache::mod { 'authn_core': } | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
# @summary | ||
# Installs and configures `mod_data`. | ||
# | ||
# @param apache_version | ||
# Version of Apache to install module on. | ||
# | ||
# @see https://httpd.apache.org/docs/current/mod/mod_data.html for additional documentation. | ||
# | ||
class apache::mod::data ( | ||
Optional[String] $apache_version = undef, | ||
) { | ||
class apache::mod::data { | ||
include apache | ||
$_apache_version = pick($apache_version, $apache::apache_version) | ||
if versioncmp($_apache_version, '2.3') < 0 { | ||
fail('mod_data is only available in Apache 2.3 and later') | ||
} | ||
::apache::mod { 'data': } | ||
} |
Oops, something went wrong.