From a8869df20fcac9f335003b2f2b8a3a57a56a1946 Mon Sep 17 00:00:00 2001 From: dtapiacl Date: Mon, 25 Aug 2025 11:54:54 -0400 Subject: [PATCH] (profile/tomcat) add puppet nginx configuration --- site/profile/manifests/ccs/tomcat.pp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/site/profile/manifests/ccs/tomcat.pp b/site/profile/manifests/ccs/tomcat.pp index 29e18ec1bd..c5d36fe34a 100644 --- a/site/profile/manifests/ccs/tomcat.pp +++ b/site/profile/manifests/ccs/tomcat.pp @@ -200,12 +200,13 @@ nginx::resource::upstream { 'tomcat': ensure => present, - members => { - 'localhost:8080' => { - server => 'localhost', - port => 8080, + members => [ + { + server => 'localhost', + port => 8080, + max_fails => '0', }, - }, + ], } nginx::resource::server { 'tomcat-http':