Skip to content

Commit

Permalink
support aliases in hiera yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Jul 7, 2023
1 parent bb3e911 commit c44d425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet-syntax/hiera.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def check(filelist)

filelist.each do |hiera_file|
begin
yamldata = YAML.load_file(hiera_file)
yamldata = YAML.load_file(hiera_file, aliases: true)
rescue Exception => error
errors << "ERROR: Failed to parse #{hiera_file}: #{error}"
next
Expand Down

0 comments on commit c44d425

Please sign in to comment.