Skip to content

Instantly share code, notes, and snippets.

@schisamo
Created January 6, 2010 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schisamo/270663 to your computer and use it in GitHub Desktop.
Save schisamo/270663 to your computer and use it in GitHub Desktop.
# open up mongodb port on iptables
require_recipe "iptables"
iptables_rule "port_mongodb" do
variables(:port => config[:port])
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment