| Index: manifests/php-pool.pp |
| =================================================================== |
| --- a/manifests/php-pool.pp |
| +++ b/manifests/php-pool.pp |
| @@ -1,4 +1,4 @@ |
| -# Define : spawn-fcgi::php-pool |
| +# Define : spawn_fcgi::php_pool |
| # |
| # Define a spawn-fcgi pool snippet for php worker. Places all pool snippets into |
| # /etc/spawn-fcgi, where they will be automatically loaded. |
| @@ -9,8 +9,8 @@ |
| # * pool_name: set name of pool, which is used to identify config template |
| # Defaults to 'pool' |
| # * content: set the content of the pool snippet. |
| -# Defaults to 'template("spawn-fcgi/pool.d/$pool_name.conf.erb")', |
| -# Undefined loads generic 'template("spawn-fcgi/pool.d/pool.conf.erb")' |
| +# Defaults to 'template("spawn_fcgi/pool.d/$pool_name.conf.erb")', |
| +# Undefined loads generic 'template("spawn_fcgi/pool.d/pool.conf.erb")' |
| # * order: specifies the load order for this pool snippet. |
| # Defaults to "500" |
| # * ip: set the ip the fcgi pool should listen on |
| @@ -29,13 +29,13 @@ |
| # Defaults to 'www-data' |
| # |
| # Sample Usage: |
| -# spawn-fcgi::php-pool { "global": |
| +# spawn_fcgi::php_pool { "global": |
| # ensure => present, |
| # order => '000', |
| # children => '15' |
| # } |
| # |
| -define spawn-fcgi::php-pool ( |
| +define spawn_fcgi::php_pool ( |
| $ensure = 'present', |
| $content = '', |
| $order = '500', |
| @@ -48,7 +48,7 @@ |
| $user = 'www-data', |
| $group = 'www-data') { |
| - spawn-fcgi::pool { $name : |
| + spawn_fcgi::pool { $name : |
| ensure => $ensure, |
| pool_name => 'php-pool', |
| fcgi_app => '/usr/bin/php-cgi', |