From c3c2fd3d3b52f585c5d864410ee77e7e65bf6b40 Mon Sep 17 00:00:00 2001 From: Daniel Castro Date: Wed, 11 Sep 2024 12:37:11 +0100 Subject: [PATCH 1/4] 18586 send node info to redborder-monitor --- resources/recipes/configure.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index f4ed968..1682cc5 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -59,6 +59,11 @@ rbmonitor_config 'Configure redborder-monitor' do name node['hostname'] + device_nodes node.run_state['sensors_info_all']['device-sensor'] + flow_nodes node.run_state['sensors_info_all']['flow-sensor'] + managers node['redborder']['managers_list'] + cluster node['redborder']['cluster_info'] + hostip node['redborder']['cluster_info'][name]['ip'] if proxy_services['redborder-monitor'] action :add else From 22fb6a909d9d1af607aaa8cedb3675049d1e1194 Mon Sep 17 00:00:00 2001 From: Daniel Castro Date: Thu, 12 Sep 2024 11:09:24 +0100 Subject: [PATCH 2/4] fix chef node attribute --- resources/recipes/configure.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index 1682cc5..c40c80a 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -63,7 +63,7 @@ flow_nodes node.run_state['sensors_info_all']['flow-sensor'] managers node['redborder']['managers_list'] cluster node['redborder']['cluster_info'] - hostip node['redborder']['cluster_info'][name]['ip'] + hostip node['redborder']['cluster_info']['name']['ip'] if proxy_services['redborder-monitor'] action :add else From 86456644d7208280e2a9da2a628116ebccea5fc7 Mon Sep 17 00:00:00 2001 From: Daniel Castro Date: Fri, 13 Sep 2024 10:39:23 +0100 Subject: [PATCH 3/4] get rid of unnecesary attributes --- resources/recipes/configure.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index c40c80a..5c2bbc8 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -61,9 +61,6 @@ name node['hostname'] device_nodes node.run_state['sensors_info_all']['device-sensor'] flow_nodes node.run_state['sensors_info_all']['flow-sensor'] - managers node['redborder']['managers_list'] - cluster node['redborder']['cluster_info'] - hostip node['redborder']['cluster_info']['name']['ip'] if proxy_services['redborder-monitor'] action :add else From 546fc0d608ac55791027bbd6c393e1d534b09d3a Mon Sep 17 00:00:00 2001 From: JPeraltaNic Date: Fri, 13 Sep 2024 15:08:20 +0100 Subject: [PATCH 4/4] Release 0.5.1 --- CHANGELOG.md | 6 ++++++ resources/metadata.rb | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d672123..b4302c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ cookbook-rb-proxy CHANGELOG =============== +## 0.5.1 + + - Daniel Castro + - [8645664] get rid of unnecesary attributes + - [c3c2fd3] send node info to redborder-monitor + ## 0.5.0 - nilsver diff --git a/resources/metadata.rb b/resources/metadata.rb index 1e5749f..28d7dc6 100644 --- a/resources/metadata.rb +++ b/resources/metadata.rb @@ -3,7 +3,7 @@ maintainer_email 'git@redborder.com' license 'AGPL-3.0' description 'Installs/Configures redborder proxy' -version '0.5.0' +version '0.5.1' depends 'rb-common' depends 'rb-selinux'