When using an environmentpath setting with multiple colon-separated paths specified, static catalog compilation does not correctly identify the environment path of the environment being compiled and therefore incorrectly concludes that no file is ever eligible for inlined metadata. See https://github.com/puppetlabs/puppet/blob/master/lib/puppet/indirector/catalog/compiler.rb#L173 and, from 5.5.x, the same line here: https://github.com/puppetlabs/puppet/blob/5.5.x/lib/puppet/indirector/catalog/compiler.rb#L173 The line in question assumes that there will only ever be a single environmentpath specified. Instead it should use the environmentpath entry which is associated with the environment name being compiled (which was presumably determined considerably earlier in the compilation). |