Created
March 19, 2013 15:47
-
-
Save ChrisLundquist/5197210 to your computer and use it in GitHub Desktop.
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
private | |
def set_platform_default_providers | |
if node.platform_family?(['debian', 'rhel']) | |
Chef::Platform.set( | |
:platform => node.platform.to_sym, | |
:resource => :firewall, | |
:provider => Chef::Provider::FirewallIptables | |
) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment