Skip to content

Commit

Permalink
Merge pull request #20 from redBorder/development
Browse files Browse the repository at this point in the history
Release 0.1.5
  • Loading branch information
malvads authored Apr 25, 2024
2 parents d66f54e + 36fc4dd commit 490f95a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# rb-proxy CHANGELOG
cookbook-rb-proxy CHANGELOG
===============

## 0.1.5

- David Vanhoucke
- [b5de2fb] add rb_exporter service in redborder proxy

## 0.0.1
- [Miguel Negrón] - Initial release of proxy
2 changes: 2 additions & 0 deletions resources/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
default["redborder"]["services"]["n2klocd"] = true
default["redborder"]["services"]["radiusd"] = true
default["redborder"]["services"]["k2http"] = true
default["redborder"]["services"]["redborder-exporter"] = true

default["redborder"]["systemdservices"]["chef-client"] = ["chef-client"]
default["redborder"]["systemdservices"]["kafka"] = ["kafka"]
Expand All @@ -77,4 +78,5 @@
default["redborder"]["systemdservices"]["n2klocd"] = ["n2klocd"]
default["redborder"]["systemdservices"]["radiusd"] = ["radiusd"]
default["redborder"]["systemdservices"]["k2http"] = ["k2http"]
default["redborder"]["systemdservices"]["redborder-exporter"] = ["redborder-exporter"]

3 changes: 2 additions & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'All rights reserved'
description 'Installs/Configures redborder proxy'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.4'
version '0.1.5'

depends 'rb-selinux'
depends 'zookeeper'
Expand All @@ -20,6 +20,7 @@
depends 'rbnmsp'
depends 'rbale'
depends 'n2klocd'
depends 'rb-exporter'
#depends 'freeradius'
depends 'k2http'
#depends 'ohai'
Expand Down
4 changes: 4 additions & 0 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
action (proxy_services["n2klocd"] ? [:add] : [:remove])
end

rb_exporter_config "Configure rb-exporter" do
action (proxy_services["redborder-exporter"] ? [:add] : [:remove])
end

# TODO: replace node["redborder"]["services"] in action with "proxy_services"..
rbale_config "Configure redborder-ale" do
ale_nodes node["redborder"]["sensors_info_all"]["ale-sensor"]
Expand Down

0 comments on commit 490f95a

Please sign in to comment.