You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying files in a machine resource, I get the following error when the target file for the provisioned machine is in the root (eg: c:\myfile):
Basically, windows doesn't let you "create" c:\ so a check must be made to see that we're actually trying to make a sub dir before we create directories.
Workaround: Only use sub directories and do not target files to root.
The text was updated successfully, but these errors were encountered:
geoffles
pushed a commit
to geoffles/chef-provisioning
that referenced
this issue
Aug 25, 2016
When specifying files in a machine resource, I get the following error when the target file for the provisioned machine is in the root (eg: c:\myfile):
I have narrowed this down to here: lib/chef/provisioning/transport/winrm.rb#L60
Basically, windows doesn't let you "create" c:\ so a check must be made to see that we're actually trying to make a sub dir before we create directories.
Workaround: Only use sub directories and do not target files to root.
The text was updated successfully, but these errors were encountered: