| Puppet Version: 5.5.10-4 Puppet Server Version: 5.5.10-4 (puppet-master-passenger) OS Name/Version: debian buster The documentation claims "If multiple files are found, Hiera searches all of them in alphanumerical order." This doesn't actually happen. When I insert a .sort before the .map in https://github.com/puppetlabs/puppet/blob/master/lib/puppet/pops/lookup/location_resolver.rb#L44 it works, although it probably still fails the documentation claim for globs - to get that right, I think one would need to define a comparision for ResolvedLocation objects based on their location, and add .sort after .flatten in line 45. It is possible newer versions added sorting somewhere else, but I can't find it. |