Skip to content
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

proposal for improvement to have a better split between data and code #12

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

Conversation

cr9427
Copy link

@cr9427 cr9427 commented Dec 9, 2024

with this patch, you have only to call the class bind, alls subclasses will be called and the data is sourced via hiera keys all appeded with 's' (see below)

few examples:

bind::configs:
'named.conf.servers':
content: |
server 192.168.1.1 {
keys { dns-axfr; };
};

bind::acls:
primaries:
address_match_list:
- 192.168.1.1 comment: powerdns

bind::keys:
dns-axfr:
algorithm: hmac-sha512 base64_secret: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=='

bind::zone::secondarys:
example.net:
masters:
- 192.168.1.1

I'm hope this will make this module a bit more convinent and handy

Best greetings from Berlin
/holm

with this patch, you have only to call the class bind,
alls subclasses will be called and the data is sourced
via hiera keys all appeded with 's' (see below)

few examples:

bind::configs:
  'named.conf.servers':
    content: |
      server 192.168.1.1 {
        keys { dns-axfr; };
      };

bind::acls:
  primaries:
    address_match_list:
      - 192.168.1.1
    comment: powerdns

bind::keys:
  dns-axfr:
    algorithm: hmac-sha512
    base64_secret: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=='

bind::zone::secondarys:
  example.net:
    masters:
      - 192.168.1.1

I'm hope this will make this module a bit more convinent and handy

Best greetings from Berlin
/holm
@cr9427 cr9427 changed the title improvement to have a better split between data and code proposal for improvement to have a better split between data and code Dec 9, 2024
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