Skip to content

Commit

Permalink
Fix lint check validations
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianrakel committed Aug 9, 2022
1 parent c681e96 commit b26c49c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions manifests/interface.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions manifests/provider/systemd.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b26c49c

Please sign in to comment.