Class: Serverspec::Type::Iptables
- Inherits:
-
Base
- Object
- Base
- Serverspec::Type::Iptables
show all
- Defined in:
- lib/serverspec/type/iptables.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#has_rule?(rule, table, chain) ⇒ Boolean
4
5
6
|
# File 'lib/serverspec/type/iptables.rb', line 4
def has_rule?(rule, table, chain)
backend.check_iptables_rule(rule, table, chain)
end
|
#to_s ⇒ Object
7
8
9
|
# File 'lib/serverspec/type/iptables.rb', line 7
def to_s
'iptables'
end
|