Skip to content

Commit

Permalink
Add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Mar 8, 2024
1 parent bb652bf commit df1260d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/puppet-syntax/hiera.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
module PuppetSyntax
class Hiera
def check_hiera_key(key)
puts '---------------------'
pp key
puts '---------------------'
if key.is_a? Symbol
if key.to_s.start_with?(':')
"Puppet automatic lookup will not use leading '::'"
Expand Down

0 comments on commit df1260d

Please sign in to comment.