Révision 8842a597
make path to `nft` binary configureable
templates/systemd/puppet_nft.conf.epp | ||
---|---|---|
1 |
<%- | Stdlib::Unixpath $nft_path, |
|
2 |
Stdlib::Unixpath $configuration_path, |
|
3 |
| -%> |
|
1 | 4 |
# Puppet Deployed |
2 | 5 |
[Service] |
3 | 6 |
RemainAfterExit=yes |
4 | 7 |
ExecStart= |
5 |
ExecStart=/sbin/nft -I /etc/nftables/puppet -f <%= $configuration_path %>
|
|
8 |
ExecStart=<%= $nft_path %> -I /etc/nftables/puppet -f <%= $configuration_path %>
|
|
6 | 9 |
ExecReload= |
7 |
ExecReload=/sbin/nft -I /etc/nftables/puppet -f <%= $configuration_path %> |
|
10 |
ExecReload=<%= $nft_path %> -I /etc/nftables/puppet -f <%= $configuration_path %> |
Formats disponibles : Unified diff