From 91e323dce251adc87eed93ba69911b09f8312174 Mon Sep 17 00:00:00 2001 From: Mia Altieri Date: Mon, 30 Sep 2024 14:04:09 +0000 Subject: [PATCH] bump lib for helpers to enable access to sock --- lib/charms/mongodb/v1/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/charms/mongodb/v1/helpers.py b/lib/charms/mongodb/v1/helpers.py index 6d302a6f9..8567b119d 100644 --- a/lib/charms/mongodb/v1/helpers.py +++ b/lib/charms/mongodb/v1/helpers.py @@ -23,7 +23,7 @@ # Increment this PATCH version before using `charmcraft publish-lib` or reset # to 0 if you are raising the major API version -LIBPATCH = 10 +LIBPATCH = 11 # path to store mongodb ketFile KEY_FILE = "keyFile" @@ -118,7 +118,7 @@ def get_mongos_args( binding_ips = ( "--bind_ip_all" if external_connectivity - else f"--bind_ip {MONGODB_COMMON_DIR}/var/mongodb-27018.sock" + else f"--bind_ip {MONGODB_COMMON_DIR}/var/mongodb-27018.sock --filePermissions 755" ) # mongos running on the config server communicates through localhost