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'