Bug #1685
filenames with ++ in their name are not handled properly
| Status: | Duplicate | Start date: | 10/24/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | file | |||
| Target version: | - | |||
| Affected Puppet version: | 0.24.5 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
When using the file type, if the path has a file that has a ‘++’ in the name, puppet tries to parse it as a regexp.
For example, this file declaration:
file {
"/usr/local/google-earth":
source => "puppet:///files/ccrc/usr/local/google-earth",
recurse => inf;
"/usr/local/bin/googleearth":
source => "puppet:///files/ccrc/usr/local/bin/googleearth",
recurse => inf;
}
}
And the following file exists:
-rwxr-xr-x 1 root root 871596 2008-10-14 15:18 /etc/puppet/files/ccrc/usr/local/google-earth/libstdc++.so.6
Results in the following error, when puppet is run:
Tue Oct 14 16:11:54 +1100 2008 Puppet (err): Could not call: nested *?+ in regexp: /^\/etc\/puppet\/files\/ccrc\/usr\/local\/google-earth\/libstdc++.so.6/
Related issues
History
Updated by Luke Kanies over 3 years ago
- Status changed from Unreviewed to Duplicate
This is a duplicate of #1596, which was theoretically fixed in 0.24.6. I’ll reopen that.
Updated by Luke Kanies over 3 years ago
And I just tested this and can’t reproduce it. Are you sure you’re running 0.24.6 on the client and server? If you’re sure, then reopen #1585 with a stack trace.
Updated by micah - over 3 years ago
luke wrote:
And I just tested this and can’t reproduce it. Are you sure you’re running 0.24.6 on the client and server? If you’re sure, then reopen #1585 with a stack trace.
Sorry, I’ve only tested this on 0.24.5, I will attempt on 0.24.6 and report back.
Updated by micah - over 3 years ago
- Affected Puppet version changed from 0.24.6 to 0.24.5