Sha256: 6a5fb3d92640a3703be0a730fcbd87f3a4d513ed7ac062530ce9a254cc321be5

Contents?: true

Size: 301 Bytes

Versions: 12

Compression:

Stored size: 301 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
landrush-1.3.2 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.3.1 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.3.0 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.2.0 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.1.2 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.1.1 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.1.0 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.1.0.beta.4 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.1.0.beta.3 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.1.0.beta.2 lib/landrush/cap/guest/debian/install_iptables.rb
landrush-1.1.0.beta.1 lib/landrush/cap/debian/install_iptables.rb
landrush-1.0.0 lib/landrush/cap/debian/install_iptables.rb