Fix invalid single quotes around variables
This commit is contained in:
parent
b8e3c1a673
commit
383f919ebb
1 changed files with 6 additions and 6 deletions
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue