saltstack-formulas / dhcpd-formula

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

Rewrite of formula #18

Open tomduijf opened 7 years ago

tomduijf commented 7 years ago

Hi all,

I imagine rewrites of existing formulas are not taken lightly, and they shouldn't. There were many great idea's taken from the current formula, which will still work. Some things did change that makes this PR not backward compatible with current pillar.

This is an initial PR, i'd very much like some feedback on if we want this at all, and possible improvements. See todo below.

So, what does this bring? Some of these items are also present in the current version.

Probably forgot to mention several things.

This was quite a bit of work, especially the jinja code, getting to the eventual imports / macro combination as a solution for dealing with the blocks, custom option tracking, and passing configuration. Hope you like!

mthibaut commented 6 years ago

I am in the process of adding testing to dhcpd-formula. Next I would like to incorporate your changes and add IPv6 support.

tomduijf commented 6 years ago

Hi @mthibaut

Sounds great! I'd be happy to help with testing/reviewing if you want.

Mind passing a little credit back my when submitting? (took me quite some effort)