Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: manifests/php-pool.pp

Issue 29447568: Noissue - Replace hypens with underscore due compatibility with parser future (Closed)
Patch Set: For comment 3 Created May 24, 2017, 6:02 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « manifests/init.pp ('k') | manifests/pool.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « manifests/init.pp ('k') | manifests/pool.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld