Projet

Général

Profil

Révision 11bf7237

ID11bf7237333a685ccc629e0b2536a34c79a4e217
Parent 78f22811
Enfant b09d43bf

Ajouté par Steve Traylen il y a plus de 4 ans

lint_fix results

Voir les différences:

manifests/ip_nat.pp
1 1
# manage basic chains in table ip nat
2 2
class nftables::ip_nat inherits nftables {
3

  
4
  nftables::config{
3
  nftables::config {
5 4
    'ip-nat':
6 5
      source => 'puppet:///modules/nftables/config/puppet-ip-nat.nft';
7 6
    'ip6-nat':
8 7
      source => 'puppet:///modules/nftables/config/puppet-ip6-nat.nft';
9 8
  }
10 9

  
11
  nftables::chain{
10
  nftables::chain {
12 11
    [
13 12
      'PREROUTING',
14 13
      'POSTROUTING',
......
16 15
      table => 'ip-nat';
17 16
  }
18 17

  
19
  nftables::chain{
18
  nftables::chain {
20 19
    [
21 20
      'PREROUTING6',
22 21
      'POSTROUTING6',
......
25 24
  }
26 25

  
27 26
  # ip-nat-chain-PREROUTING
28
  nftables::rule{
27
  nftables::rule {
29 28
    'PREROUTING-type':
30 29
      table   => 'ip-nat',
31 30
      order   => '01',
......
45 44
  }
46 45

  
47 46
  # ip-nat-chain-POSTROUTING
48
  nftables::rule{
47
  nftables::rule {
49 48
    'POSTROUTING-type':
50 49
      table   => 'ip-nat',
51 50
      order   => '01',

Formats disponibles : Unified diff