aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp26
1 files changed, 13 insertions, 13 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index d7167a5..aa74e29 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -34,24 +34,24 @@ class backupninja::client {
ensure => directory
}
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 )
+ ( $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"],
- }
+ 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"],
}
}
}
}
}
+
+