aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-21 09:56:59 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-21 09:58:38 -0400
commit383f919ebbdebfc1426319c6dcf05f87adc7a767 (patch)
treeb4cd119bfe8d2696a39eac56bf016766f9972a56
parentb8e3c1a673fa02dbf2f1d7fa92291cc1988a8670 (diff)
downloadpuppet-sshd-383f919ebbdebfc1426319c6dcf05f87adc7a767.tar.gz
puppet-sshd-383f919ebbdebfc1426319c6dcf05f87adc7a767.tar.bz2
Fix invalid single quotes around variables
-rw-r--r--manifests/ssh_authorized_key.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/ssh_authorized_key.pp b/manifests/ssh_authorized_key.pp
index 2436df6..e93dde1 100644
--- a/manifests/ssh_authorized_key.pp
+++ b/manifests/ssh_authorized_key.pp
@@ -52,18 +52,18 @@ define sshd::ssh_authorized_key(
'absent': {
info("not setting any option for ssh_authorized_key: ${name}")
- file { '$real_target':
+ file { $real_target:
ensure => $ensure,
- content => '$type $key',
- owner => '$real_user',
+ content => "${type} ${key}",
+ owner => $real_user,
mode => '0600';
}
}
default: {
- file { '$real_target':
+ file { $real_target:
ensure => $ensure,
- content => '$options $type $key',
- owner => '$real_user',
+ content => "${options} ${type} ${key}",
+ owner => $real_user,
mode => '0600';
}
}