Skip to content

Add parameter to control listen-on#273

Merged
ekohl merged 1 commit intotheforeman:masterfrom
kajinamit:listen-on
Feb 14, 2025
Merged

Add parameter to control listen-on#273
ekohl merged 1 commit intotheforeman:masterfrom
kajinamit:listen-on

Conversation

@kajinamit
Copy link
Contributor

... so that both listen-on and listen-on-v6 can be managed by the native parameters.

Variant[Enum['unmanaged'], Stdlib::Absolutepath] $defaultzonepath = $dns::params::defaultzonepath,
Optional[Enum['only', 'first']] $forward = undef,
Array[Dns::Forwarder] $forwarders = [],
Optional[Variant[String, Boolean]] $listen_on = undef,
Copy link
Member

Choose a reason for hiding this comment

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

Why a boolean instead of just an optional string?

Suggested change
Optional[Variant[String, Boolean]] $listen_on = undef,
Optional[String] $listen_on = undef,

Is it for consistency with $listen_on_v6? I'm not sure we need to care about that too much.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is for consistency with listen_on_v6 but I agree we can probably ignore it. Let me update the change.

... so that both listen-on and listen-on-v6 can be managed by
the native parameters.
@ekohl ekohl merged commit 279d803 into theforeman:master Feb 14, 2025
19 of 21 checks passed
@kajinamit kajinamit deleted the listen-on branch March 1, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants