lib/landrush/cap/debian/install_iptables.rb in landrush-0.19.0 vs lib/landrush/cap/debian/install_iptables.rb in landrush-1.0.0
- old
+ new
@@ -1,13 +1,13 @@
module Landrush
module Cap
module Debian
module InstallIptables
def self.install_iptables(machine)
- machine.communicate.tap { |c|
+ machine.communicate.tap do |c|
c.sudo('apt-get update')
c.sudo('apt-get install -y iptables')
- }
+ end
end
end
end
end
end