From f2a9da73871c3638dbff3719244a181dd1e10802 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 8 Mar 2024 13:54:34 +0100 Subject: [PATCH] Enable Hiera syntax check The Hiera key check exists since a long time and I think it makes sense to enable it by default. This is a potential breaking change, so we should probably wait with merging until the next major release. In addition we also enable the checks for Hiera values. --- lib/puppet-syntax.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puppet-syntax.rb b/lib/puppet-syntax.rb index 2659cb1..1261594 100644 --- a/lib/puppet-syntax.rb +++ b/lib/puppet-syntax.rb @@ -19,8 +19,8 @@ module PuppetSyntax '**/templates/**/*.epp', ] @fail_on_deprecation_notices = true - @check_hiera_keys = false - @check_hiera_data = false + @check_hiera_keys = true + @check_hiera_data = true class << self attr_accessor :exclude_paths,