File: ip6tables.rb

package info (click to toggle)
ruby-serverspec 2.41.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 984 kB
  • sloc: ruby: 4,780; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Serverspec
  module Type
    class Ip6tables < Base
      def has_rule?(rule, table, chain)
        @runner.check_ip6tables_has_rule(rule, table, chain)
      end

      def to_s
        'ip6tables'
      end
    end
  end
end