Skip to content

Add Console section to the Director configuration#210

Merged
smortex merged 4 commits into
voxpupuli:masterfrom
lemrouch:director-console
Jan 5, 2026
Merged

Add Console section to the Director configuration#210
smortex merged 4 commits into
voxpupuli:masterfrom
lemrouch:director-console

Conversation

@lemrouch

Copy link
Copy Markdown
Contributor

This PR allows to add Console sections to the Director configuration. This is useful if one needs to force ACL for example for monitoring purposes.
This is done via define of a new collected resource bacula::director::console.
I found out that the CatalogACL and CommandACL need to be defined as the bare minimum to get anything working. Other parameters are therefore optional.

@smortex smortex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I added some inline notes for review. Also it would be great to rebase on top of master to get rid of this merge commit.

Comment thread manifests/director/console.pp Outdated
Comment thread manifests/director/console.pp Outdated
Comment thread manifests/director/console.pp Outdated
Comment thread manifests/director/console.pp Outdated
@lemrouch
lemrouch force-pushed the director-console branch 3 times, most recently from 5c87f03 to e29c622 Compare June 19, 2024 11:15
@smortex
smortex force-pushed the director-console branch 3 times, most recently from b623b58 to fa8ff5a Compare June 20, 2024 00:04

@smortex smortex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a few commit in your branch to "hide" the complex data type away from the console code, and add a basic unit test.

Are you happy with these changes?

Also, I added some in-line comments regarding quoting.

Comment thread spec/defines/director_console_spec.rb
@smortex
smortex self-requested a review June 21, 2024 08:46
@smortex smortex added the enhancement New feature or request label Jan 5, 2026
@smortex

smortex commented Jan 5, 2026

Copy link
Copy Markdown
Member

This was unexpectedly forgotten. I rebased it on top of master to make sure CI is still happy, let's merge this so that the next release ship it!

Thank you!

@smortex
smortex merged commit 10084cb into voxpupuli:master Jan 5, 2026
4 checks passed
@smortex smortex added this to the 9.0.0 milestone Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants