Skip to content

Commit

Permalink
Merge pull request #61 from redBorder/development
Browse files Browse the repository at this point in the history
Release 3.3.0
  • Loading branch information
manegron authored Dec 7, 2024
2 parents 75f5750 + 2593c90 commit e3f4b68
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
cookbook-rb-proxy CHANGELOG
===============

## 3.3.0

- nilsver
- [5ffe6d7] add firewall cookbook

## 3.2.1

- JuanSheba
Expand Down
2 changes: 2 additions & 0 deletions resources/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
default['redborder']['services'] = {}
default['redborder']['services']['chef-client'] = true
default['redborder']['services']['chrony'] = true
default['redborder']['services']['firewall'] = true
default['redborder']['services']['f2k'] = true
default['redborder']['services']['k2http'] = true
default['redborder']['services']['kafka'] = true
Expand All @@ -58,6 +59,7 @@

default['redborder']['systemdservices']['chef-client'] = ['chef-client']
default['redborder']['systemdservices']['chrony'] = ['chronyd']
default['redborder']['systemdservices']['firewall'] = ['firewalld']
default['redborder']['systemdservices']['f2k'] = ['f2k']
default['redborder']['systemdservices']['k2http'] = ['k2http']
default['redborder']['systemdservices']['kafka'] = ['kafka']
Expand Down
3 changes: 2 additions & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
maintainer_email '[email protected]'
license 'AGPL-3.0'
description 'Installs/Configures redborder proxy'
version '3.2.1'
version '3.3.0'

depends 'rb-common'
depends 'rb-selinux'
Expand All @@ -26,3 +26,4 @@
depends 'rbcgroup'
depends 'rb-clamav'
depends 'rb-chrony'
depends 'rb-firewall'
8 changes: 8 additions & 0 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
end
end

rb_firewall_config 'Configure Firewall' do
if proxy_services['firewall']
action :add
else
action :remove
end
end

zookeeper_config 'Configure Zookeeper' do
port node['zookeeper']['port']
memory node['redborder']['memory_services']['zookeeper']['memory']
Expand Down

0 comments on commit e3f4b68

Please sign in to comment.