diff options
author | varac <varacanero@zeromail.org> | 2013-07-09 23:49:06 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-07-09 23:49:06 +0200 |
commit | fb6d0198fad90b0fe8e71f333a5dbd3c0d5af5db (patch) | |
tree | 2aa6e56ccd6af4c948b77b5a72c683fe8c1c64d8 /puppet/modules | |
parent | b4077083b971377636754b2988668a6ddd384da5 (diff) |
use file_line from stdlib instead of line, now both vpn_unlimited_tcp_resolver and vpn_unlimited_udp_resolver are included
Diffstat (limited to 'puppet/modules')
-rw-r--r-- | puppet/modules/site_openvpn/manifests/resolver.pp | 10 |
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'] |