From df1260d16384a7134bd3f52ec9981e5179dd8d0b Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 8 Mar 2024 12:45:52 +0100 Subject: [PATCH] Add debug output --- lib/puppet-syntax/hiera.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/puppet-syntax/hiera.rb b/lib/puppet-syntax/hiera.rb index 5b32cf7..a485b8c 100644 --- a/lib/puppet-syntax/hiera.rb +++ b/lib/puppet-syntax/hiera.rb @@ -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 '::'"