Skip to content

Commit

Permalink
Update configure.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
malvads authored Jun 10, 2024
1 parent 4ec77f8 commit 3220e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@

s3_leader = `serf members | grep s3=ready | awk '{print $1'} | head -n 1`.strip

# Allow only s3 onpremise nodes for now..
# Allow only one s3 onpremise node for now.. TODO: Distributed MinIO
minio_config "Configure S3 (minio)" do
ipaddress node["ipaddress_sync"]
action ((manager_services["s3"] and external_services["s3"] == "onpremise" and s3_leader == node.name ) ? [:add, :register] : [:remove, :deregister])
Expand Down

0 comments on commit 3220e71

Please sign in to comment.