Sha256: 08f92c60684d2827202f6239508b79ed0cc3caa2e5c91247661340cd7f0dbac5
Contents?: true
Size: 269 Bytes
Versions: 9
Compression:
Stored size: 269 Bytes
Contents
class Specinfra::Command::Redhat::V5::Iptables < Specinfra::Command::Redhat::Base::Iptables def check_has_rule(rule, table=nil, chain=nil) cmd = "iptables-save" cmd += " -t #{escape(table)}" if table cmd += " | grep -- #{escape(rule)}" cmd end end
Version data entries
9 entries across 9 versions & 1 rubygems