Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-9090

Puppet apply causes a Stack Level too deep on Windows (include function)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Incomplete
    • Affects Version/s: PUP 5.5.6, PUP 6.0.2
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Windows 10 - 1803
      Ruby 2.4.3-2 x64
      Puppet Gem 5.5.6 x64 (No agent or master)

    • Template:
      PUP Bug Template
    • Team:
      Night's Watch
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      This is a real edge case but it's SUPER SUPER WEIRD

      Using a manifest of

      include ppp
      

      I expect the output from puppet apply manifest.pp to raise a compile error such as

      Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::ppp for glenns.gallifrey.local (file: C:/Source/tmp/wtf/manifest.pp, line: 1, column: 1) on node glenns.gallifrey.local
      

      However in certain circumstance I get a "Could not run: stack level too deep", which appears to be puppet recursively trying to load the "include" function.

      Trace log

      ... REPEATS ...
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:167:in `block in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/runtime3_support.rb:291:in `external_call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/scope.rb:1100:in `call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:167:in `block in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/runtime3_support.rb:291:in `external_call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/scope.rb:1100:in `call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:167:in `block in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/runtime3_support.rb:291:in `external_call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/scope.rb:1100:in `call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:167:in `block in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/runtime3_support.rb:291:in `external_call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/scope.rb:1100:in `call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:167:in `block in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/runtime3_support.rb:291:in `external_call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/scope.rb:1100:in `call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:167:in `block in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/runtime3_support.rb:291:in `external_call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/scope.rb:1100:in `call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:167:in `block in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/runtime3_support.rb:291:in `external_call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/scope.rb:1100:in `call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:167:in `block in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/runtime3_support.rb:291:in `external_call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/scope.rb:1100:in `call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions/include.rb:31:in `block in <top (required)>'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/functions.rb:167:in `block in newfunction'
      C:/source/tmp/wtf/langserver-sidecar20180828-13160-1pngrjb:1:in `stack'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/puppet_stack.rb:33:in `eval'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/puppet_stack.rb:33:in `stack'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/runtime3_support.rb:314:in `call_function'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/evaluator_impl.rb:964:in `call_function_with_block'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/evaluator_impl.rb:933:in `eval_CallNamedFunctionExpression'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/visitor.rb:48:in `block in visit_this'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/visitor.rb:42:in `each'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/visitor.rb:42:in `visit_this'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/visitor.rb:92:in `visit_this_1'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
      C:/source/tmp/wtf/langserver-sidecar20180828-13160-1pngrjb:in `stack'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/puppet_stack.rb:33:in `eval'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/puppet_stack.rb:33:in `stack'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/evaluator_impl.rb:737:in `eval_Program'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/visitor.rb:48:in `block in visit_this'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/visitor.rb:42:in `each'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/visitor.rb:42:in `visit_this'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/visitor.rb:92:in `visit_this_1'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/pops/parser/evaluating_parser.rb:63:in `evaluate'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/ast/pops_bridge.rb:125:in `evaluate'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/ast.rb:31:in `safeevaluate'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/resource/type.rb:136:in `evaluate_code'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/resource.rb:79:in `block in evaluate'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/resource.rb:71:in `evaluate'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/compiler.rb:592:in `evaluate_main'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/compiler.rb:166:in `block (2 levels) in compile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/compiler.rb:166:in `block in compile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/context.rb:65:in `override'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet.rb:260:in `override'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/compiler.rb:155:in `compile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/parser/compiler.rb:35:in `compile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/indirector/catalog/compiler.rb:303:in `block (2 levels) in compile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/profiler.rb:51:in `profile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/indirector/catalog/compiler.rb:301:in `block in compile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util.rb:232:in `block in benchmark'
      C:/tools/ruby2.4.3-2x64/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util.rb:231:in `benchmark'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/indirector/catalog/compiler.rb:299:in `compile'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/indirector/catalog/compiler.rb:54:in `block in find'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/node/environment.rb:450:in `with_text_domain'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/indirector/catalog/compiler.rb:53:in `find'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/indirector/indirection.rb:198:in `find'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/application/apply.rb:262:in `block in main'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/context.rb:65:in `override'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet.rb:260:in `override'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/application/apply.rb:233:in `main'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/application/apply.rb:174:in `run_command'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/application.rb:375:in `block in run'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util.rb:663:in `exit_on_fail'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/application.rb:375:in `run'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/command_line.rb:136:in `run'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/lib/puppet/util/command_line.rb:73:in `execute'
      C:/source/tmp/wtf/.bundle/windows/ruby/2.4.0/gems/puppet-5.5.6-x64-mingw32/bin/puppet:5:in `<top (required)>'
      C:/Source/tmp/wtf/.bundle/windows/ruby/2.4.0/bin/puppet:23:in `load'
      C:/Source/tmp/wtf/.bundle/windows/ruby/2.4.0/bin/puppet:23:in `<main>'
      

      Here's the weird bit;

      Using the same ruby environment, command and manifest;

      • Running under cmd.exe - EVALUATION ERROR (Good)
      • Running as PowerShell under ConEmu - EVALUATION ERROR (Good)
      • Running it in the PowerShell console - STACK TOO DEEP (BAD!)
      • Running cmd.exe and then running PowerShell - - EVALUATION ERROR (Good)

      SOMETHING in the PowerShell console/environment/or whatever is causing a recursion inside Puppet function loading

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              glenn.sarti Glenn Sarti
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support