Skip to content

Commit

Permalink
Update init.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderMalmstrom committed Nov 19, 2024
1 parent 0ed1978 commit ab8d2c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/wireguard/manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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",
}

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'
Expand Down

0 comments on commit ab8d2c3

Please sign in to comment.