Projet

Général

Profil

Révision 8842a597

ID8842a597f82f297a5f4a6f4e20efbf5bf614676b
Parent a7142e9f
Enfant e8ee67c1

Ajouté par Tim Meusel il y a presque 3 ans

make path to `nft` binary configureable

Voir les différences:

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