Sha256: 5bd29798c136b9551e61c509f66d4d2d4d18a96bd9bd9f7322cdd796ae8602ee

Contents?: true

Size: 235 Bytes

Versions: 381

Compression:

Stored size: 235 Bytes

Contents

class Specinfra::Command::Solaris::Base::Ipnat < Specinfra::Command::Base::Ipnat
  class << self
    def check_has_rule(rule)
      regexp = "^#{rule}$"
      "ipnat -l 2> /dev/null | grep -- #{escape(regexp)}"
    end
  end
end






Version data entries

381 entries across 381 versions & 3 rubygems

Version Path
specinfra-2.76.5 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.76.4 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.76.3 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.76.2 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.76.1 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.76.0 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.75.1 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-rb19-2.44.7 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.75.0 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.74.0 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.73.4 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.73.3 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.73.2 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.73.1 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.73.0 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.72.1 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.72.0 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.71.3 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.71.2 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.71.1 lib/specinfra/command/solaris/base/ipnat.rb