Skip to content

Commit

Permalink
Merge pull request #809 from mhaskel/fix_travis
Browse files Browse the repository at this point in the history
Fixing warning in rake validate
  • Loading branch information
Ashley Penney committed Aug 5, 2014
2 parents 068e56e + d6d120a commit 62dac65
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1715,12 +1715,12 @@ Ex:

```puppet
apache::fastcgi::server { 'php':
host => '127.0.0.1:9000',
timeout => 15,
flush => false,
faux_path => '/var/www/php.fcgi',
alias => '/php.fcgi',
file_type => 'application/x-httpd-php'
host => '127.0.0.1:9000',
timeout => 15,
flush => false,
faux_path => '/var/www/php.fcgi',
fcgi_alias => '/php.fcgi',
file_type => 'application/x-httpd-php'
}
```

Expand Down
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
12 changes: 6 additions & 6 deletions spec/defines/fastcgi_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@
describe ".conf content" do
let :params do
{
:host => '127.0.0.1:9001',
:timeout => 30,
:flush => true,
:faux_path => '/var/www/php-www.fcgi',
:alias => '/php-www.fcgi',
:file_type => 'application/x-httpd-php'
:host => '127.0.0.1:9001',
:timeout => 30,
:flush => true,
:faux_path => '/var/www/php-www.fcgi',
:fcgi_alias => '/php-www.fcgi',
:file_type => 'application/x-httpd-php'
}
end
let :expected do
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 62dac65

Please sign in to comment.