Sha256: 4b441175876e86bb326de8c9bf60e4fee5753cc19d1a3cc75f9fd3a2ab07fcea

Contents?: true

Size: 298 Bytes

Versions: 24

Compression:

Stored size: 298 Bytes

Contents

module Landrush
  module Cap
    module Debian
      module InstallIptables
        def self.install_iptables(machine)
          machine.communicate.tap { |c|
            c.sudo('apt-get update')
            c.sudo('apt-get install -y iptables')
          }
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
landrush-0.6.0 lib/landrush/cap/debian/install_iptables.rb
landrush-0.5.0 lib/landrush/cap/debian/install_iptables.rb
landrush-0.4.1 lib/landrush/cap/debian/install_iptables.rb
landrush-0.4.0 lib/landrush/cap/debian/install_iptables.rb