Puppet Version: 4.4.0 - 5.5.6 Puppet Server Version: All OS Name/Version: All We want to use the `source` attribute of the file type to get host specific stuff from a web service. For this we're using the following code:
The important part here is the `host=foobar` parameter. If it's not added, the web service will return a 404. Desired Behavior: The file type should be able to retrieve a file from a http(s) URL which contains query parameters Actual Behavior:
This happens, because Puppet, for reason unknown to me, requests only the `path` element of the uri and skips on the query parameters: https://github.com/puppetlabs/puppet/blob/7ec328f0832492353cad5b2b3ae6e90449fa105f/lib/puppet/util/http_proxy.rb#L184 I will submit a PR to fix this. |