Issue #22212 has been updated by Nigel Kersten.

Subject changed from File Names with "?" Cause Failures (puppet:// fileserving 
a directory) to File Names with "?" cause failures with recursive copies
Status changed from Investigating to Accepted

----------------------------------------
Bug #22212: File Names with "?" cause failures with recursive copies
https://projects.puppetlabs.com/issues/22212#change-98328

* Author: Celia Cottle
* Status: Accepted
* 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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to