From 7cc28431b53f7f8326bee163a42e0d45014b2fac Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 31 Aug 2010 18:27:33 +0200 Subject: [PATCH] fix source typos --- manifests/base.pp | 3 +-- manifests/vpn/hosts.pp | 3 +-- manifests/vpn/node_key.pp | 8 ++------ 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/manifests/base.pp b/manifests/base.pp index 667e761..b3feb39 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -24,8 +24,7 @@ class tinc::base { file{"/etc/tinc/nets.boot": source => [ "puppet:///modules/site-tinc/netsboot/${fqdn}/nets.boot", "puppet:///modules/site-tinc/netsboot/nets.boot", - "puppet:///modules/tinc/netsboot/nets.boot", - ] + "puppet:///modules/tinc/netsboot/nets.boot" ], notify => Service['tinc'], owner => root, group => 0, mode => 0644; } diff --git a/manifests/vpn/hosts.pp b/manifests/vpn/hosts.pp index c4a93ec..3a8bbe7 100644 --- a/manifests/vpn/hosts.pp +++ b/manifests/vpn/hosts.pp @@ -6,8 +6,7 @@ define tinc::vpn::hosts ( file { "/etc/tinc/${name}/hosts/${hostname}": ensure => $ensure, - source => [ "puppet:///modules/site-tinc/keys/hosts/${hostname}", - ] + source => "puppet:///modules/site-tinc/keys/hosts/${hostname}", notify => Service[tinc], owner => root, group => 0, mode => 0600; } diff --git a/manifests/vpn/node_key.pp b/manifests/vpn/node_key.pp index 952b200..c642943 100644 --- a/manifests/vpn/node_key.pp +++ b/manifests/vpn/node_key.pp @@ -5,9 +5,7 @@ define tinc::vpn::node_key_priv( ){ # put key into /etc/tinc/${netname}/rsa_key.priv file{"/etc/tinc/${netname}/rsa_key.priv": - ensure => file, - source => [ "puppet:///modules/site-tinc/keys/$fqdn/rsa_key.priv", - ] + source => "puppet:///modules/site-tinc/keys/$fqdn/rsa_key.priv", owner => root, group => 0, mode => 0644; } } @@ -19,9 +17,7 @@ define tinc::vpn::node_key_pub( ){ # put key into /etc/tinc/${netname}/rsa_key.pub file{"/etc/tinc/${netname}/rsa_key.pub": - ensure => file, - source => [ "puppet:///modules/site-tinc/keys/$fqdn/rsa_key.pub", - ] + source => "puppet:///modules/site-tinc/keys/$fqdn/rsa_key.pub", owner => root, group => 0, mode => 0644; } }