bugfix: add dnsmasq restart
This commit is contained in:
parent
5257611b84
commit
1c21f4b49e
|
@ -377,6 +377,7 @@ class ff_gw::vpn($ca_crt, $usr_crt, $usr_key, $openvpn_version = '2.3.2-7~bpo70+
|
||||||
content => '#!/bin/sh
|
content => '#!/bin/sh
|
||||||
ip route replace 0.0.0.0/1 via $5 table 42
|
ip route replace 0.0.0.0/1 via $5 table 42
|
||||||
ip route replace 128.0.0.0/1 via $5 table 42
|
ip route replace 128.0.0.0/1 via $5 table 42
|
||||||
|
/usr/sbin/service dnsmasq restart
|
||||||
exit 0';
|
exit 0';
|
||||||
"/etc/openvpn/${vpnname}.conf":
|
"/etc/openvpn/${vpnname}.conf":
|
||||||
ensure => file,
|
ensure => file,
|
||||||
|
|
Loading…
Reference in a new issue