Skip to content

Commit a271707

Browse files
committed
Merge pull request puppetlabs#1431 from DavidS/mod-info-path
(MODULES-3274) mod-info: specify the info_path
2 parents 40ac3cf + 4b9f6d3 commit a271707

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

manifests/mod/info.pp

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
$allow_from = ['127.0.0.1','::1'],
33
$apache_version = undef,
44
$restrict_access = true,
5+
$info_path = '/server-info',
56
){
67
include ::apache
78
$_apache_version = pick($apache_version, $apache::apache_version)

templates/mod/info.conf.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Location /server-info>
1+
<Location <%= @info_path %>>
22
SetHandler server-info
33
<%- if @restrict_access -%>
44
<%- if scope.function_versioncmp([@_apache_version, '2.4']) >= 0 -%>

0 commit comments

Comments
 (0)