summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-02-21 16:22:26 +0100
committervarac <varacanero@zeromail.org>2013-02-21 16:22:26 +0100
commit081e6f2e55d1536d4c0ebea5dfdc9f08b105c602 (patch)
treea3803383abc3604c5bb86e6bb4fe54eb63c9de1f /puppet/modules
parent21b197953d11d69d14789bc284d72d9c5025dcb4 (diff)
linted
Diffstat (limited to 'puppet/modules')
-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'];
}