[Pkg-puppet-devel] Bug#594769: puppet: source file url sent to the master is invalid

Sergio Gelato Sergio.Gelato at astro.su.se
Sun Aug 29 10:02:25 UTC 2010


Package: puppet
Version: 2.6.0-3
Severity: important
Tags: fixed-upstream patch

Another one than needs to be cherry-picked for squeeze (unless you plan to
get 2.6.1 in, that is). The 2.6.0 client sends an extra / in file_content
URLs (e.g., https://puppet:8140/production/file_content//module/whatever/...)
causing some servers (passenger is affected, and others have reported that
mongrel+nginx is as well; webrick is OK, presumably it does some kind of
canonicalisation on incoming requests) to return a 404 instead of the file
data.

I'm referring to upstream issue #4319, which is fixed by commit
03313b81c696d12c756a5ff5adced5bed162bbfc . I've successfully applied
the patch on top of the 2.6.0-3 package, and testing was successful.

I wonder (but don't have the time to set up a 0.25 master for testing) 
whether this might not also fix #593125 (which was closed "wontfix" on 
generic grounds, namely that upstream recommends as a general rule to 
upgrade the master before the clients).





More information about the Pkg-puppet-devel mailing list