Skip to content

Commit

Permalink
Merge pull request #253 from redBorder/development
Browse files Browse the repository at this point in the history
Release 4.6.0
  • Loading branch information
jsotofernandez authored Nov 13, 2024
2 parents 0009bd8 + 81c4f3a commit 42ee4e2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 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-manager CHANGELOG
===============

## 4.6.0

- David Vanhoucke
- [b4abc7a] execute add_mcli before installing and registering minio

## 4.5.0

- Miguel Negrón
Expand Down
2 changes: 1 addition & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
maintainer_email '[email protected]'
license 'AGPL-3.0'
description 'Installs/Configures redborder manager'
version '4.5.0'
version '4.6.0'

depends 'rb-common'
depends 'chef-server'
Expand Down
14 changes: 6 additions & 8 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -614,12 +614,10 @@

s3_secrets = {}

if manager_services['s3'] && (external_services['s3'] == 'onpremise')
begin
s3_secrets = data_bag_item('passwords', 's3')
rescue
s3_secrets = {}
end
begin
s3_secrets = data_bag_item('passwords', 's3')
rescue
s3_secrets = {}
end

# Allow only s3 onpremise nodes for now..
Expand All @@ -629,9 +627,9 @@
secret_key_id s3_secrets['s3_secret_key_id']
if manager_services['s3'] && (external_services['s3'] == 'onpremise')
ipaddress node['ipaddress_sync']
action [:add, :register, :add_mcli]
action [:add_mcli, :add, :register]
else
action [:remove, :deregister, :add_mcli]
action [:add_mcli, :remove, :deregister]
end
end

Expand Down

0 comments on commit 42ee4e2

Please sign in to comment.