From 525a5c5f8a67785a5f4ba7038cf60da8b1a3280b Mon Sep 17 00:00:00 2001 From: David Vanhoucke Date: Sun, 21 Apr 2024 21:08:35 +0000 Subject: [PATCH] add ipaddress sync for minio --- resources/recipes/configure.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index d222d1e2..7f118d36 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -363,6 +363,7 @@ # 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]) end