Closed
Description
From discussion Originally posted by @calorbeer in #67 (comment)
There is an issue with ssh_public_key
variables having default value set to null
.
If var.ssh_public_key
value is set by the user, ssh_authorized_keys
argument is set correctly however if it's null
the condition is also evaluated to true
and as a result it is set to null
. The file statements are never reached. To avoid this the variables either need to default to "" or the conditions have to test for != null and "".
To do:
- test should be done uppon
null
and we also initialize relavant variables tonull
- rename
ssh_public_key_path
tossh_public_keys_file
(plural form forkeys
and mentionfile
explicitely)