Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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