summaryrefslogtreecommitdiff
path: root/puppet/modules/site_openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_openvpn')
-rw-r--r--puppet/modules/site_openvpn/manifests/resolver.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/puppet/modules/site_openvpn/manifests/resolver.pp b/puppet/modules/site_openvpn/manifests/resolver.pp
index d3963c95..939207bd 100644
--- a/puppet/modules/site_openvpn/manifests/resolver.pp
+++ b/puppet/modules/site_openvpn/manifests/resolver.pp
@@ -23,13 +23,17 @@ class site_openvpn::resolver {
file {
'/etc/unbound/conf.d/vpn_udp_resolver':
content => "interface: ${site_openvpn::openvpn_udp_network_prefix}.1\naccess-control: ${site_openvpn::openvpn_udp_network_prefix}.0/${site_openvpn::openvpn_udp_cidr} allow\n",
- owner => root, group => root, mode => '0644',
+ owner => root,
+ group => root,
+ mode => '0644',
require => Service['openvpn'],
notify => Service['unbound'];
'/etc/unbound/conf.d/vpn_tcp_resolver':
content => "interface: ${site_openvpn::openvpn_tcp_network_prefix}.1\naccess-control: ${site_openvpn::openvpn_tcp_network_prefix}.0/${site_openvpn::openvpn_tcp_cidr} allow\n",
- owner => root, group => root, mode => '0644',
+ owner => root,
+ group => root,
+ mode => '0644',
require => Service['openvpn'],
notify => Service['unbound'];
}