Skip to content

Commit

Permalink
Enable Hiera syntax check
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bastelfreak committed Mar 12, 2024
1 parent 32d2a31 commit 18795c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/puppet-syntax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 18795c1

Please sign in to comment.