From ab8d2c3b1abccab8df86ca89fb9f1f30c55cc416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Malmstr=C3=B6m?= Date: Tue, 19 Nov 2024 16:34:11 +0100 Subject: [PATCH] Update init.pp --- modules/wireguard/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wireguard/manifests/init.pp b/modules/wireguard/manifests/init.pp index 67f0bcd4..ebadf55e 100644 --- a/modules/wireguard/manifests/init.pp +++ b/modules/wireguard/manifests/init.pp @@ -1,6 +1,6 @@ class wireguard($current_event, $tunnelip) { #Pull down clients - file { '/etc/iptables/rules.test': + file { '/etc/iptables/rules.v4': ensure => file, recurse => remote, source => "puppet:///svn/${current_event}/services/rules.v4", @@ -8,7 +8,7 @@ exec { 'fw-rules': # exec resource named 'apt-update' command => '/usr/sbin/iptables-restore /etc/iptables/rules.v4', # command this resource will run - require => File['/etc/iptables/rules.test'], + require => File['/etc/iptables/rules.v4'], } # Execute 'apt-get update'