Commit 105e5924 authored by Tim Smith's avatar Tim Smith
Browse files

Make sure to use the path name_property when creating the ec public key file



Otherwise you can use a friendly name of the resource and that ends up being the filename and things def do not work.
Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent a74003e6
......@@ -33,7 +33,7 @@ action :create do
ec_key_content = gen_ec_pub_key((new_resource.private_key_path || new_resource.private_key_content), new_resource.private_key_pass)
file new_resource.name do
file new_resource.path do
action :create
owner new_resource.owner
group new_resource.group
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment