diff --git a/manifests/interface.pp b/manifests/interface.pp index 4d52b60..6456190 100644 --- a/manifests/interface.pp +++ b/manifests/interface.pp @@ -2,6 +2,7 @@ # @summary manages a wireguard setup # # @param interface the title of the defined resource, will be used for the wg interface +# @param ensure will ensure that the files for the provider will be present or absent # @param input_interface ethernet interface where the wireguard packages will enter the system, used for firewall rules # @param manage_firewall if true, a ferm rule will be created # @param dport destination for firewall rules / where our wg instance will listen on. defaults to the last digits from the title diff --git a/manifests/provider/systemd.pp b/manifests/provider/systemd.pp index 497d7ef..9d41412 100644 --- a/manifests/provider/systemd.pp +++ b/manifests/provider/systemd.pp @@ -16,11 +16,11 @@ systemd::network { "${interface}.netdev": ensure => $ensure, content => epp("${module_name}/netdev.epp", { - 'interface' => $interface, - 'dport' => $dport, - 'description' => $description, - 'mtu' => $mtu, - 'peers' => $peers, + 'interface' => $interface, + 'dport' => $dport, + 'description' => $description, + 'mtu' => $mtu, + 'peers' => $peers, }), restart_service => true, owner => 'root',