Skip to content

Commit a8869df

Browse files
committed
(profile/tomcat) add puppet nginx configuration
1 parent c11d3c6 commit a8869df

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

site/profile/manifests/ccs/tomcat.pp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,13 @@
200200

201201
nginx::resource::upstream { 'tomcat':
202202
ensure => present,
203-
members => {
204-
'localhost:8080' => {
205-
server => 'localhost',
206-
port => 8080,
203+
members => [
204+
{
205+
server => 'localhost',
206+
port => 8080,
207+
max_fails => '0',
207208
},
208-
},
209+
],
209210
}
210211

211212
nginx::resource::server { 'tomcat-http':

0 commit comments

Comments
 (0)