Révision 008c95d7
Add Debian support
spec/acceptance/default_spec.rb | ||
---|---|---|
13 | 13 |
} |
14 | 14 |
$config_path = $facts['os']['family'] ? { |
15 | 15 |
'Archlinux' => '/etc/nftables.conf', |
16 |
'Debian' => '/etc/nftables.conf', |
|
16 | 17 |
default => '/etc/sysconfig/nftables.conf', |
17 | 18 |
} |
18 | 19 |
$nft_path = $facts['os']['family'] ? { |
... | ... | |
68 | 69 |
} |
69 | 70 |
$config_path = $facts['os']['family'] ? { |
70 | 71 |
'Archlinux' => '/etc/nftables.conf', |
72 |
'Debian' => '/etc/nftables.conf', |
|
71 | 73 |
default => '/etc/sysconfig/nftables.conf', |
72 | 74 |
} |
73 | 75 |
$nft_path = $facts['os']['family'] ? { |
... | ... | |
108 | 110 |
} |
109 | 111 |
$config_path = $facts['os']['family'] ? { |
110 | 112 |
'Archlinux' => '/etc/nftables.conf', |
113 |
'Debian' => '/etc/nftables.conf', |
|
111 | 114 |
default => '/etc/sysconfig/nftables.conf', |
112 | 115 |
} |
113 | 116 |
$nft_path = $facts['os']['family'] ? { |
... | ... | |
148 | 151 |
} |
149 | 152 |
$config_path = $facts['os']['family'] ? { |
150 | 153 |
'Archlinux' => '/etc/nftables.conf', |
154 |
'Debian' => '/etc/nftables.conf', |
|
151 | 155 |
default => '/etc/sysconfig/nftables.conf', |
152 | 156 |
} |
153 | 157 |
$nft_path = $facts['os']['family'] ? { |
Formats disponibles : Unified diff