aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-12-03 12:27:34 +0100
committervarac <varacanero@zeromail.org>2012-12-03 12:27:34 +0100
commit7e731b95d6841a3bcbb38fc5cc8189b87b3c2f0c (patch)
tree6c08e528139b77ccbc41adebe4636ba09c134c29
parentd46db38c5346409838d77b24c7f74c1e72cb7caa (diff)
downloadpuppet-backupninja-7e731b95d6841a3bcbb38fc5cc8189b87b3c2f0c.tar.gz
puppet-backupninja-7e731b95d6841a3bcbb38fc5cc8189b87b3c2f0c.tar.bz2
use same name for key creation and deployment
-rw-r--r--manifests/client.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 3a2755b..7e689bf 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -108,7 +108,7 @@ class backupninja::client inherits backupninja::client::defaults {
}
if !defined(File["$key_dest_file"]) {
file { "$key_dest_file":
- source => "${key_store}/${real_user}_id_${key_type}",
+ source => "${key_store}/${key_dest_name}",
mode => 0400, owner => $key_owner, group => $key_group,
require => File["$key_dest"],
}