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

Side by Side Diff: manifests/pool.pp

Issue 29447568: Noissue - Replace hypens with underscore due compatibility with parser future (Closed)
Patch Set: Created May 24, 2017, 4:48 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Define : spawn-fcgi::pool 1 # Define : spawn_fcgi::pool
2 # 2 #
3 # Define a spawn-fcgi pool snippet. Places all pool snippets into 3 # Define a spawn_fcgi pool snippet. Places all pool snippets into
4 # /etc/spawn-fcgi, where they will be automatically loaded 4 # /etc/spawn-fcgi, where they will be automatically loaded
5 # 5 #
6 # Parameters : 6 # Parameters :
7 # * ensure: typically set to "present" or "absent". 7 # * ensure: typically set to "present" or "absent".
8 # Defaults to "present" 8 # Defaults to "present"
9 # * pool_name: set name of pool, which is used to identify config template 9 # * pool_name: set name of pool, which is used to identify config template
10 # Defaults to 'pool' 10 # Defaults to 'pool'
11 # * content: set the content of the pool snippet. 11 # * content: set the content of the pool snippet.
12 # Defaults to 'template("spawn-fcgi/pool.d/$pool_name.conf.erb")', 12 # Defaults to 'template("spawn-fcgi/pool.d/$pool_name.conf.erb")',
13 # Undefined loads generic 'template("spawn-fcgi/pool.d/pool.conf.erb")' 13 # Undefined loads generic 'template("spawn-fcgi/pool.d/pool.conf.erb")'
(...skipping 11 matching lines...) Expand all
25 # * mode: set file-mode of unix-socket 25 # * mode: set file-mode of unix-socket
26 # Only works when socket is specified. 26 # Only works when socket is specified.
27 # * children: set number fcgi children to spawn 27 # * children: set number fcgi children to spawn
28 # * chroot: set chroot for fcgi procs 28 # * chroot: set chroot for fcgi procs
29 # * user: set user to run fcgi procs with 29 # * user: set user to run fcgi procs with
30 # Defaults to 'www-data' 30 # Defaults to 'www-data'
31 # * group: set group to run fcgi procs with 31 # * group: set group to run fcgi procs with
32 # Defaults to 'www-data' 32 # Defaults to 'www-data'
33 # 33 #
34 34
35 define spawn-fcgi::pool ( 35 define spawn_fcgi::pool (
36 $ensure = 'present', 36 $ensure = 'present',
37 $content = '', 37 $content = '',
38 $order = '500', 38 $order = '500',
39 $pool_name = undef, 39 $pool_name = undef,
40 $fcgi_app = undef, 40 $fcgi_app = undef,
41 $fcgi_app_args = undef, 41 $fcgi_app_args = undef,
42 $ip = undef, 42 $ip = undef,
43 $port = '9000', 43 $port = '9000',
44 $socket = undef, 44 $socket = undef,
45 $mode = undef, 45 $mode = undef,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 ensure => $ensure, 80 ensure => $ensure,
81 content => $real_content, 81 content => $real_content,
82 mode => '0644', 82 mode => '0644',
83 owner => root, 83 owner => root,
84 group => root, 84 group => root,
85 notify => Service['spawn-fcgi'], 85 notify => Service['spawn-fcgi'],
86 require => Package['spawn-fcgi'] 86 require => Package['spawn-fcgi']
87 } 87 }
88 88
89 } 89 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld