Class: Specinfra::Command::Solaris::Base::Ipfilter
- Inherits:
-
Base::Ipfilter
- Object
- Base
- Base::Ipfilter
- Specinfra::Command::Solaris::Base::Ipfilter
- Defined in:
- lib/specinfra/command/solaris/base/ipfilter.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.check_has_rule(rule) ⇒ Object
3 4 5 |
# File 'lib/specinfra/command/solaris/base/ipfilter.rb', line 3 def check_has_rule(rule) "ipfstat -io 2> /dev/null | grep -- #{escape(rule)}" end |