Sha256: 2bcfd297693cafb7c2cc01766d7f6d3d6b339988de0479cbac67adf42f67b037

Contents?: true

Size: 205 Bytes

Versions: 9

Compression:

Stored size: 205 Bytes

Contents

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






Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta15 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.0.0.beta14 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.0.0.beta13 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.0.0.beta12 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.0.0.beta11 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.0.0.beta10 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.0.0.beta9 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.0.0.beta8 lib/specinfra/command/solaris/base/ipnat.rb
specinfra-2.0.0.beta7 lib/specinfra/command/solaris/base/ipnat.rb