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

Side by Side Diff: manifests/init.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.
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 | « README.md ('k') | manifests/php-pool.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Class: spawn-fcgi 1 # Class: spawn_fcgi
2 # 2 #
3 # This class manage spawn-fcgi installation and configuration. 3 # This class manage spawn-fcgi installation and configuration.
4 # 4 #
5 # Use spawn-fcgi::pool for configuring spawn-fcgi pools 5 # Use spawn_fcgi::pool for configuring spawn-fcgi pools
6 # Use spawn-fcgi::php-pool to configure a preconfigured php-pool 6 # Use spawn_fcgi::php-pool to configure a preconfigured php-pool
7 # 7 #
8 class spawn-fcgi { 8 class spawn_fcgi {
9 9
10 package { 'spawn-fcgi': ensure => installed } 10 package { 'spawn-fcgi': ensure => installed }
11 11
12 service { 'spawn-fcgi': 12 service { 'spawn-fcgi':
13 ensure => running, 13 ensure => running,
14 hasstatus => true, 14 hasstatus => true,
15 enable => true, 15 enable => true,
16 require => File['/etc/init.d/spawn-fcgi'], 16 require => File['/etc/init.d/spawn-fcgi'],
17 } 17 }
18 18
19 file { '/etc/init.d/spawn-fcgi': 19 file { '/etc/init.d/spawn-fcgi':
20 ensure => present, 20 ensure => present,
21 owner => root, 21 owner => root,
22 group => root, 22 group => root,
23 mode => '0755', 23 mode => '0755',
24 content => template('spawn-fcgi/init-spawn-fcgi.erb'), 24 content => template('spawn_fcgi/init-spawn-fcgi.erb'),
25 require => Package['spawn-fcgi'], 25 require => Package['spawn-fcgi'],
26 } 26 }
27 27
28 file { '/etc/spawn-fcgi': 28 file { '/etc/spawn-fcgi':
29 ensure => directory, 29 ensure => directory,
30 require => Package['spawn-fcgi'], 30 require => Package['spawn-fcgi'],
31 } 31 }
32 } 32 }
OLDNEW
« no previous file with comments | « README.md ('k') | manifests/php-pool.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld