summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-07-15 15:01:38 +0200
committervarac <varacanero@zeromail.org>2013-07-15 15:01:38 +0200
commita5cacfa30abbde42a47daae77869b616d299b0f7 (patch)
tree2aa6e56ccd6af4c948b77b5a72c683fe8c1c64d8 /puppet/modules
parentb4077083b971377636754b2988668a6ddd384da5 (diff)
parentfb6d0198fad90b0fe8e71f333a5dbd3c0d5af5db (diff)
Merge branch 'hotfix/issue/3140'
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_openvpn/manifests/resolver.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/puppet/modules/site_openvpn/manifests/resolver.pp b/puppet/modules/site_openvpn/manifests/resolver.pp
index dc31767c..c1bce858 100644
--- a/puppet/modules/site_openvpn/manifests/resolver.pp
+++ b/puppet/modules/site_openvpn/manifests/resolver.pp
@@ -54,28 +54,28 @@ class site_openvpn::resolver {
# go away and instead the caching_resolver should be configured to
# include: /etc/unbound/conf.d/*
- line {
+ file_line {
'add_unlimited_tcp_resolver':
ensure => $ensure_unlimited,
- file => '/etc/unbound/unbound.conf',
+ path => '/etc/unbound/unbound.conf',
line => 'server: include: /etc/unbound/conf.d/vpn_unlimited_tcp_resolver',
notify => Service['unbound'],
require => Package['unbound'];
'add_unlimited_udp_resolver':
ensure => $ensure_unlimited,
- file => '/etc/unbound/unbound.conf',
+ path => '/etc/unbound/unbound.conf',
line => 'server: include: /etc/unbound/conf.d/vpn_unlimited_udp_resolver',
notify => Service['unbound'],
require => Package['unbound'];
'add_limited_tcp_resolver':
ensure => $ensure_limited,
- file => '/etc/unbound/unbound.conf',
+ path => '/etc/unbound/unbound.conf',
line => 'server: include: /etc/unbound/conf.d/vpn_limited_tcp_resolver',
notify => Service['unbound'],
require => Package['unbound'];
'add_limited_udp_resolver':
ensure => $ensure_limited,
- file => '/etc/unbound/unbound.conf',
+ path => '/etc/unbound/unbound.conf',
line => 'server: include: /etc/unbound/conf.d/vpn_limited_udp_resolver',
notify => Service['unbound'],
require => Package['unbound']