Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Duplicate
-
PUP 4.4.2
-
None
-
None
-
None
-
Puppet server: Ubuntu 14.04
Puppet agents: Windows 2012 R2
Description
I am still facing this issue, when trying to copy git installation files by copying a folder and making it recursive. There is a file called [.exe and it is failing with:
Error: /Stage[main]/Tcagents/File[Copy Team City agent tools]: Failed to generate additional resources using 'eval_generate': Parameter source failed on File[D:/TeamCityTools/git-2.5.0/usr/bin/[.exe]: Could not understand source puppet:///tools/TeamCityTools/git-2.5.0/usr/bin/[.exe: bad URI(is not URI?): puppet:///tools/TeamCityTools/git-2.5.0/usr/bin/[.exe |
While reading other requests, I saw that is is due to the URI library Puppet uses for validating the path. I also found the same issue in https://tickets.puppetlabs.com/browse/PUP-3135 but it is accepted without a solution.
I wonder if there is a workaround you recommend or a fix for this. Using Puppet 4.4.2.
Resource is:
file{'Copy Team City agent tools': |
ensure => directory,
|
path => $tc_tools_path,
|
source => 'puppet:///tools/TeamCityTools', |
recurse => true, |
}
|
Attachments
Issue Links
- duplicates
-
PUP-3135 Square brackets in file names not handled properly
-
- Accepted
-