Skip to content

Commit

Permalink
commands: pass instance config to ctdb etc setup
Browse files Browse the repository at this point in the history
Pass instance config to ctdb etc setup that will allow the use of public
addresses configuration.

Signed-off-by: John Mulligan <[email protected]>
  • Loading branch information
phlogistonjohn authored and mergify[bot] committed Aug 26, 2024
1 parent 112f5d3 commit 02b6b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sambacc/commands/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _ctdb_nodes_exists(ctx: Context) -> None:
def _ctdb_etc_files(ctx: Context) -> None:
if ctx.instance_config.with_ctdb and ctx.expects_ctdb:
_logger.info("Ensuring ctdb etc files")
ctdb.ensure_ctdbd_etc_files()
ctdb.ensure_ctdbd_etc_files(iconfig=ctx.instance_config)


@setup_steps.command("share_paths")
Expand Down

0 comments on commit 02b6b18

Please sign in to comment.