From f82c797b6ebf72c7fda2bba9cabfa89f74e7ccfd Mon Sep 17 00:00:00 2001 From: davidredborder <34706472+davidredborder@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:23:36 +0000 Subject: [PATCH 1/2] configure redborder monitor (#11) --- resources/recipes/configure.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index 5a72917..a18816b 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -300,11 +300,10 @@ end # if sensor.id>0 end # if node -# rbmonitor_config "Configure redborder-monitor" do -# name node["hostname"] -# monitors monitors_dg["monitors"] -# action ((ips_services["redborder-monitor"] and sensor_id > 0) ? :add : :remove) -# end + rbmonitor_config "Configure redborder-monitor" do + name node["hostname"] + action ((ips_services["redborder-monitor"] and sensor_id > 0) ? :add : :remove) + end ###template "/etc/rb_snmp_pass.yml" do ### source "rb_snmp_pass.yml.erb" From d9ecb8af9e04011474380d9ee2afdcac78992f86 Mon Sep 17 00:00:00 2001 From: Miguel Negron Date: Tue, 23 Jan 2024 16:25:26 +0000 Subject: [PATCH 2/2] Release 0.1.6 --- packaging/rpm/cookbook-rb-ips.spec | 2 ++ resources/metadata.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packaging/rpm/cookbook-rb-ips.spec b/packaging/rpm/cookbook-rb-ips.spec index f62ebfd..6790503 100644 --- a/packaging/rpm/cookbook-rb-ips.spec +++ b/packaging/rpm/cookbook-rb-ips.spec @@ -45,6 +45,8 @@ esac %doc %changelog +* Wed Jan 23 2024 David Vanhoucke - 0.1.6 +- Fix redborder-monitor * Thu Jan 18 2024 Miguel Negrón - 0.1.5 - Add journalctld configuration * Thu Dec 14 2023 Miguel Álvarez - 0.1.4 diff --git a/resources/metadata.rb b/resources/metadata.rb index 4e30ccc..3ec41f8 100644 --- a/resources/metadata.rb +++ b/resources/metadata.rb @@ -4,7 +4,7 @@ license 'All rights reserved' description 'Installs/Configures redborder ips' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '0.1.5' +version '0.1.6' depends 'geoip' depends 'snmp'