From 911b251f1acfdf8d8617ded71e2d7616b6580484 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 22 May 2008 03:46:11 +0000 Subject: fix missing curly braces, and also fix up indentation --- manifests/client.pp | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'manifests') diff --git a/manifests/client.pp b/manifests/client.pp index fb0c934..d7167a5 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -33,22 +33,23 @@ class backupninja::client { file { $configdir: ensure => directory } - define key ( - $sourcekey='$real_keystore/${name}_id_$real_keytype', + define key + ( $sourcekey='$real_keystore/${name}_id_$real_keytype', $destination='$real_keydestination', $key_type=$real_keytype, - $key_owner=$real_keyowner, $key_group=$real_keygroup, $installkey=$real_keymanage - ) - case $installkey { - true: { - { - file { "$destination": - ensure => directory, - mode => 700, owner => $keyowner, group => $keygroup, - } - file { "$destination/id_$keytype": - source => "$sourcekey", - mode => 0400, owner => $keyowner, group => $keygroup, - require => File["$destination"], + $key_owner=$real_keyowner, $key_group=$real_keygroup, $installkey=$real_keymanage ) + { + case $installkey { + true: { + { + file { "$destination": + ensure => directory, + mode => 700, owner => $keyowner, group => $keygroup, + } + file { "$destination/id_$keytype": + source => "$sourcekey", + mode => 0400, owner => $keyowner, group => $keygroup, + require => File["$destination"], + } } } } -- cgit v1.2.3