Skip to content

add files to include in smb.conf stub for ctdb #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

phlogistonjohn
Copy link
Collaborator

When using ctdb most of the configuration should be managed via the
registry config via ctdb. However, there are some parameters you may
need to be per-instance. As a quick and simple way of getting custom
per host settings with ctdb allow for including additional files from
the generated stub smb.conf file.

Plus two minor cleanups noticed while hacking on this feature.

This was working because we had a newline before the next section header
but this can break if you insert a new param after the 'nodes list'
param. I found it when prototyping something I am not going to use after
all, but the fix here is still worthwhile.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
When using ctdb most of the configuration should be managed via the
registry config via ctdb. However, there are some parameters you may
need to be per-instance. As a quick and simple way of getting custom
per host settings with ctdb allow for including additional files from
the generated stub smb.conf file.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
@phlogistonjohn phlogistonjohn marked this pull request as ready for review June 23, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant