saltstack-formulas / dhcpd-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
8 stars 56 forks source link

feat: allow additional ddns-* options #62

Closed ekacnet closed 1 year ago

ekacnet commented 1 year ago

ddns-rev-domainname is added at the top level of the configuration and in the subnet section too. ddns-domainname is added to the subnet section as well because it's possible to do so in configuration (ie. supose that you want hosts in a given subnet to have a different domain, for instance iot.foo.com).

ddns-hostname is added for host section because actually quite handy to fix broken names that some client are generating.

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

Some ddns related options were not configurable, either in the main section or in the subnet section or host section. In particular the ddns-rev-domain is allowed now both in the main section and in the subnet one.

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

sticky-note commented 1 year ago

LGTM