Skip to content

Instantly share code, notes, and snippets.

@greenmoss
Created February 3, 2011 22:31
Show Gist options
  • Save greenmoss/810367 to your computer and use it in GitHub Desktop.
Save greenmoss/810367 to your computer and use it in GitHub Desktop.
package 'iptables' do
notifies :create, 'ruby_block[try_firewall_again]', :immediately
end
ruby_block 'try_firewall_again' do
block do
node.load_attribute_by_short_filename('default', 'firewall')
end
action :nothing
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment