Skip to content

Commit

Permalink
Merge pull request #17 from redBorder/development
Browse files Browse the repository at this point in the history
Release 0.0.7
  • Loading branch information
manegron authored Jun 7, 2024
2 parents 4effa0d + 34d672d commit 6efd38f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
cookbook-rb-monitor CHANGELOG
===============

## 0.0.7

- nilsver
- [deeb69f] deep copy of service hash

## 0.0.6

- JuanSheba
Expand Down
6 changes: 4 additions & 2 deletions resources/libraries/update_manager_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,10 @@ def update_manager_config(resource)
#Calculate used memory per service
memory_monitors = ["/* MEMORY PER SERVICE */"]
begin
enabled_services = node.default["redborder"]["services"]
service_list = %w[druid-broker druid-coordinator druid-historical druid-middlemanager druid-overlord druid-realtime http2k kafka n2klocd redborder-nmsp redborder-postgresql webui zookeeper f2k]
original_services = node.default['redborder']['services']
enabled_services = JSON.parse(original_services.to_json)
service_list = %w[druid-broker druid-coordinator druid-historical druid-middlemanager druid-overlord
druid-realtime http2k kafka n2klocd redborder-nmsp redborder-postgresql webui zookeeper f2k]

#In case user modifies a service
overwritten_services = node.attributes["redborder"]["services"]
Expand Down
2 changes: 1 addition & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
maintainer_email 'git@redborder.com'
license 'AGPL-3.0'
description 'Installs/Configures rb-monitor'
version '0.0.6'
version '0.0.7'

0 comments on commit 6efd38f

Please sign in to comment.