Issue #22212 has been updated by Nigel Kersten.
Here's a simpler manifest to reproduce the issue without a puppet master:
<pre>
file { '/tmp/source':
ensure => directory,
}
file { 'problem_file':
ensure => file,
path => '/tmp/source/?',
}
file { '/tmp/dest':
ensure => directory,
recurse => true,
purge => true,
force => true,
source => '/tmp/source',
require => File['problem_file'],
}
</pre>
----------------------------------------
Bug #22212: File Names with "?" Cause Failures (puppet:// fileserving a
directory)
https://projects.puppetlabs.com/issues/22212#change-98323
* Author: Celia Cottle
* Status: Needs More Information
* Priority: Normal
* Assignee:
* Category: fileserving
* Target version:
* Affected Puppet version: 3.2.4
* Keywords: customer
file
fileserver
?
* Branch:
----------------------------------------
File names that contain "?" cause runs to fail and reports that it can't find a
file name by section before the ?, and seemingly drops the ? and anything after.
Example code:
<pre>
file { '/tmp/foo':
ensure => directory,
recurse => true,
purge => true,
force => true,
owner => 'root',
group => 'root',
mode => '0644',
source => "puppet:///modules/foobar/foo",
}
</pre>
Example directory/file structure:
<pre>
├── foobar
│ └── files
│ └── foo
│ ├── a
│ ├── b
│ ├── c
│ └── test?moretest
</pre>
Error:
<pre>
Error: Could not set 'file' on ensure: Error 404 on SERVER: Not Found: Could
not find file_content modules/foobar/foo/test
Error: Could not set 'file' on ensure: Error 404 on SERVER: Not Found: Could
not find file_content modules/foobar/foo/test
Wrapped exception:
Error 404 on SERVER: Not Found: Could not find file_content
modules/foobar/foo/test
Error: /File[/tmp/foo/test?moretest]/ensure: change from absent to file failed:
Could not set 'file' on ensure: Error 404 on SERVER: Not Found: Could not find
file_content modules/foobar/foo/test
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.