puppetlabs/puppet · error · Puppet::ParseError
Could not find any files from %{values}
Error message
Could not find any files from %{values} What it means
Error "Could not find any files from %{values}" thrown in puppetlabs/puppet.
Source
Thrown at lib/puppet/parser/functions/file.rb:33
* An absolute path, which can load a file from anywhere on disk.
* Multiple arguments, which will return the contents of the **first** file
found, skipping any files that don't exist.
"
) do |vals|
path = nil
vals.each do |file|
found = Puppet::Parser::Files.find_file(file, compiler.environment)
if found && Puppet::FileSystem.exist?(found)
path = found
break
end
end
if path
Puppet::FileSystem.read_preserve_line_endings(path)
else
raise Puppet::ParseError, _("Could not find any files from %{values}") % { values: vals.join(", ") }
end
end
View on GitHub (pinned to e227c27540)
When it happens
Trigger: Thrown at lib/puppet/parser/functions/file.rb:33 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of puppetlabs/puppet@e227c27540 (2026-08-21).
Data as JSON: /api/errors/d7576ca3d82d3222.
Report an issue: GitHub.