diff options
author | Micah Anderson <micah@riseup.net> | 2008-05-22 03:46:11 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-05-22 03:46:11 +0000 |
commit | 911b251f1acfdf8d8617ded71e2d7616b6580484 (patch) | |
tree | 8fdf316b7594e5d2c95111e87194ba9df9de2cae | |
parent | 2511ea17e91c02466f399105cb3deca189048f1f (diff) | |
download | puppet-backupninja-911b251f1acfdf8d8617ded71e2d7616b6580484.tar.gz puppet-backupninja-911b251f1acfdf8d8617ded71e2d7616b6580484.tar.bz2 |
fix missing curly braces, and also fix up indentation
-rw-r--r-- | manifests/client.pp | 31 |
1 files changed, 16 insertions, 15 deletions
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"], + } } } } |