aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-08 12:28:52 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-08 12:28:52 -0400
commite4bcc14b1a21395d4f32e940db1af37ab2c9e385 (patch)
treee0477b64593ad1c9c703cb745eaaf2c9d8051c41 /manifests
parent7dcb79f4e652aa4ac4ef83a70b7e16f06bd82840 (diff)
downloadpuppet-backupninja-e4bcc14b1a21395d4f32e940db1af37ab2c9e385.tar.gz
puppet-backupninja-e4bcc14b1a21395d4f32e940db1af37ab2c9e385.tar.bz2
Fix conditional for Ssh_authorized_key in server class
Diffstat (limited to 'manifests')
-rw-r--r--manifests/server.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 540fc8d..ee0c880 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -106,7 +106,7 @@ class backupninja::server (
}
}
default: {
- if !defined(Ssh_autorized_key["$real_user"]) {
+ if !defined(Ssh_autorized_key["$user"]) {
@@ssh_authorized_key{ "$user":
type => $keytype,
key => $key,