Skip to content

Commit

Permalink
Changes $alias to $fcgi_alias to preent Puppet complaining about usin…
Browse files Browse the repository at this point in the history
…g that name
  • Loading branch information
jtreminio committed Jun 28, 2014
1 parent 18fc65b commit 807db14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/fastcgi/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$timeout = 15,
$flush = false,
$faux_path = "/var/www/${name}.fcgi",
$alias = "/${name}.fcgi",
$fcgi_alias = "/${name}.fcgi",
$file_type = 'application/x-httpd-php'
) {
include apache::mod::fastcgi
Expand Down
4 changes: 2 additions & 2 deletions templates/fastcgi/server.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FastCGIExternalServer <%= @faux_path %> -idle-timeout <%= @timeout %> <%= if @flush then '-flush' end %> -host <%= @host %>
Alias <%= @alias %> <%= faux_path %>
Action <%= @file_type %> <%= @alias %>
Alias <%= @fcgi_alias %> <%= faux_path %>
Action <%= @file_type %> <%= @fcgi_alias %>

0 comments on commit 807db14

Please sign in to comment.