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

Puppet 4, module data, and mangle support #29

Merged
merged 2 commits into from
Oct 25, 2016
Merged

Conversation

inkblot
Copy link
Owner

@inkblot inkblot commented Oct 19, 2016

Update the module to support puppet 4, including a transition from Modulefile
to metadata.json, fixups of file and concat mode specification, and reworking
of fact references.

Get rid of the shorewall_version fact and instead of using conditional
statements around this fact to select behaviors in the manifests, use hiera in
the form of module data. I think I've got the values set up correctly for
different LTS versions of Ubuntu and released versions of Debian, but no
guarantees.

Finally, create more explicit support for mangle rules, and rework the mark
define as a special case of it.

Update the module to support puppet 4, including a transition from `Modulefile`
to `metadata.json`, fixups of file and concat mode specification, and reworking
of fact references.

Get rid of the `shorewall_version` fact and instead of using conditional
statements around this fact to select behaviors in the manifests, use hiera in
the form of module data. I think I've got the values set up correctly for
different LTS versions of Ubuntu and released versions of Debian, but no
guarantees.

Finally, create more explicit support for mangle rules, and rework the mark
define as a special case of it.
Avoid clobbering the entire defaults file with augeas. Really just want to tell
shorewall it's ok to start up.
@inkblot inkblot merged commit e04c588 into master Oct 25, 2016
@inkblot inkblot deleted the version-differentiation branch October 16, 2017 12:40
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