Action create fails with EnclosingDirectoryDoesNotExist when ssh_keypair exists and ssh_keys empty
Opened this issue · 0 comments
atikhono commented
Action create fails with EnclosingDirectoryDoesNotExist when ssh_keypair exists and ssh_keys empty:
Chef::Exceptions::EnclosingDirectoryDoesNotExist
------------------------------------------------
file[/Users/dummy/.ssh/id_rsa.pub] (/tmp/kitchen/cache/cookbooks/user/providers/account.rb line 269) had an error: Chef::Exceptions::EnclosingDirectoryDoesNotExist: Parent directory /Users/dummy/.ssh does not exist.
home_ssh_dir_resource must run if ssh_keypair is set.