Skip to content

Commit 2d2fae7

Browse files
author
Morgan Haskel
committed
Merge branch 'change-alias-variable-name' of github.com:puphpet/puppetlabs-apache into puphpet-change-alias-variable-name
Conflicts: templates/fastcgi/server.erb
2 parents 068e56e + 807db14 commit 2d2fae7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manifests/fastcgi/server.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$timeout = 15,
44
$flush = false,
55
$faux_path = "/var/www/${name}.fcgi",
6-
$alias = "/${name}.fcgi",
6+
$fcgi_alias = "/${name}.fcgi",
77
$file_type = 'application/x-httpd-php'
88
) {
99
include apache::mod::fastcgi

templates/fastcgi/server.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
FastCGIExternalServer <%= @faux_path %> -idle-timeout <%= @timeout %> <%= if @flush then '-flush' end %> -host <%= @host %>
2-
Alias <%= @alias %> <%= @faux_path %>
3-
Action <%= @file_type %> <%= @alias %>
2+
Alias <%= @fcgi_alias %> <%= @faux_path %>
3+
Action <%= @file_type %> <%= @fcgi_alias %>

0 commit comments

Comments
 (0)