Resolution: Cannot Reproduce
Server = Ubuntu Server 14.04.5
Nodes = Windows 7 Pro SP1
I'm trying to copy the installation files for some HP scanner software to some Windows nodes. However it is failing on two of the files, both of which have tilde (~) characters in the filenames.
Here's the relevant output from puppet agent -t to show what's happening:
Here is the Puppet "command" that I'm using to do this:
NOTE: I don't see why it would make a difference, but the fs1-install part of the path is a cifs mount from our linux file server.
All the other files work correctly, it's just these two with tilde in the name that have issues, hence my assumption that the tilde is the issue.
I tried using the ignore attribute in the existing File definition to exclude the tilde files (which worked). Then used separate File definitions for each tilde file, but I had the same issue. I tried putting the file name/path in the path attribute instead of the definition name, but that didn't help either. I tried backslashes, double quotes, single quotes, nothing worked.
I tried the forum first, here: https://ask.puppet.com/question/28745/recursively-copying-directory-to-windows-7-nodes-fails-on-files-with-tilde-in-name/
...but no response yet.