fix source typos

This commit is contained in:
mh 2010-08-31 18:27:33 +02:00
parent 64f7942aab
commit 7cc28431b5
3 changed files with 4 additions and 10 deletions

View file

@ -24,8 +24,7 @@ class tinc::base {
file{"/etc/tinc/nets.boot": file{"/etc/tinc/nets.boot":
source => [ "puppet:///modules/site-tinc/netsboot/${fqdn}/nets.boot", source => [ "puppet:///modules/site-tinc/netsboot/${fqdn}/nets.boot",
"puppet:///modules/site-tinc/netsboot/nets.boot", "puppet:///modules/site-tinc/netsboot/nets.boot",
"puppet:///modules/tinc/netsboot/nets.boot", "puppet:///modules/tinc/netsboot/nets.boot" ],
]
notify => Service['tinc'], notify => Service['tinc'],
owner => root, group => 0, mode => 0644; owner => root, group => 0, mode => 0644;
} }

View file

@ -6,8 +6,7 @@ define tinc::vpn::hosts (
file { "/etc/tinc/${name}/hosts/${hostname}": file { "/etc/tinc/${name}/hosts/${hostname}":
ensure => $ensure, ensure => $ensure,
source => [ "puppet:///modules/site-tinc/keys/hosts/${hostname}", source => "puppet:///modules/site-tinc/keys/hosts/${hostname}",
]
notify => Service[tinc], notify => Service[tinc],
owner => root, group => 0, mode => 0600; owner => root, group => 0, mode => 0600;
} }

View file

@ -5,9 +5,7 @@ define tinc::vpn::node_key_priv(
){ ){
# put key into /etc/tinc/${netname}/rsa_key.priv # put key into /etc/tinc/${netname}/rsa_key.priv
file{"/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; 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 # put key into /etc/tinc/${netname}/rsa_key.pub
file{"/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; owner => root, group => 0, mode => 0644;
} }
} }