commit 1b0e812ad9e33b3cc148fac30a28490f60f40c63
Author: Chris Boot <crb@tiger-computing.co.uk>
Date:   Thu Mar 14 17:56:39 2013 +0000

    Send the :links option to the file server
    
    Previously, the server was never asked to follow links when 'links =>
    follow' was used, so the server always provided the metadata for the
    link itself. With this patch, the server correctly follows the link
    server-side and the client can apply the catalog correctly.

--- a/lib/puppet/type/file/source.rb
+++ b/lib/puppet/type/file/source.rb
@@ -101,7 +101,7 @@
       return @content if @content
       raise Puppet::DevError, "No source for content was stored with the metadata" unless metadata.source
 
-      unless tmp = Puppet::FileServing::Content.indirection.find(metadata.source)
+      unless tmp = Puppet::FileServing::Content.indirection.find(metadata.source, :links => resource[:links])
         fail "Could not find any content at %s" % metadata.source
       end
       @content = tmp.content
@@ -154,7 +154,7 @@
       return nil unless value
       value.each do |source|
         begin
-          if data = Puppet::FileServing::Metadata.indirection.find(source)
+          if data = Puppet::FileServing::Metadata.indirection.find(source, :links => resource[:links])
             @metadata = data
             @metadata.source = source
             break
