bugfix: add dnsmasq restart

This commit is contained in:
Martin Schuette 2014-05-04 23:19:40 +02:00
parent 5257611b84
commit 1c21f4b49e

View file

@ -377,6 +377,7 @@ class ff_gw::vpn($ca_crt, $usr_crt, $usr_key, $openvpn_version = '2.3.2-7~bpo70+
content => '#!/bin/sh
ip route replace 0.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';
"/etc/openvpn/${vpnname}.conf":
ensure => file,