I'm trying to copy a directory from one folder to another folder like so:
directory "C:\\test\\go" do
recursive true
action :create
end
cookbook_file "C:\\Automation" do
source "C:\\Automation"
path "C:\\test\\go"
action :create_if_missing
end
It creates the target folder C:\test\go but does not copy anything. The documentation says that it should also handle directories so any ideas why it does not? I've also tried a wildcard source "C:\Automation\*" and also tried forward slashed...