-
-
Save joeywas/d8f0d676b9ef3beb54ae0d617ef69633 to your computer and use it in GitHub Desktop.
firewall_custom init.pp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class firewall_custom($firewall_data = false) { | |
include firewall_custom::pre | |
include firewall_custom::post | |
include firewall | |
resources { "firewall": | |
purge => true | |
} | |
if $firewall_data != false { | |
create_resources('firewall', $firewall_data) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment