From 0499941fb0f4c95d54dda1c5606b2b0b1911f397 Mon Sep 17 00:00:00 2001 From: Stuart Stephen Date: Mon, 24 Sep 2018 10:29:13 +0100 Subject: [PATCH] Issue#31 Node Manager secure listeners toggle via default attributes Signed-off-by: Stuart Stephen --- fmw_domain/attributes/default.rb | 1 + fmw_domain/recipes/nodemanager.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fmw_domain/attributes/default.rb b/fmw_domain/attributes/default.rb index dfaaa14..4f92c63 100644 --- a/fmw_domain/attributes/default.rb +++ b/fmw_domain/attributes/default.rb @@ -1,6 +1,7 @@ include_attribute 'fmw_wls' default['fmw_domain']['nodemanager_port'] = 5556 +default['fmw_domain']['nodemanager_secure_listener'] = true default['fmw_domain']['nodemanager_service_description'] = nil if node['platform_family'] =='windows' diff --git a/fmw_domain/recipes/nodemanager.rb b/fmw_domain/recipes/nodemanager.rb index 4842d16..58fc013 100644 --- a/fmw_domain/recipes/nodemanager.rb +++ b/fmw_domain/recipes/nodemanager.rb @@ -56,7 +56,7 @@ domain_dir: "#{node['fmw_domain']['domains_dir']}/#{domain_params['domain_name']}".gsub('\\\\', '/').gsub('\\', '/'), nodemanager_address: node['fmw_domain']['nodemanager_listen_address'], nodemanager_port: node['fmw_domain']['nodemanager_port'], - nodemanager_secure_listener: true, + nodemanager_secure_listener: node['fmw_domain']['nodemanager_secure_listener'], platform_family: node['platform_family'], version: node['fmw']['version']) end @@ -73,7 +73,7 @@ domain_dir: "#{node['fmw_domain']['domains_dir']}/#{domain_params['domain_name']}", nodemanager_address: node['fmw_domain']['nodemanager_listen_address'], nodemanager_port: node['fmw_domain']['nodemanager_port'], - nodemanager_secure_listener: true, + nodemanager_secure_listener: node['fmw_domain']['nodemanager_secure_listener'], platform_family: node['platform_family'], version: node['fmw']['version']) end