unable to install foreman on buster10(debian)
Followed the steps mentioned under below link
# How To Install Foreman on Ubuntu 18.04 / Ubuntu 16.04 & Debian 9 by www.itzgeaek.com.
please note i am performing this step on VirtualBox.
Below is the log
[ERROR 2020-05-17T06:28:55 main] Evaluation Error: Error while evaluating a Function Call, No preferred version defined or automatically detected. (file: /usr/share/foreman-installer/modules/postgresql/manifests/globals.pp, line: 133, column: 5) on node debian.test.com
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/functions/fail.rb:3:in `block in <top (required)>'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/functions.rb:167:in `block in newfunction'
[ERROR 2020-05-17T06:28:55 main] /usr/share/foreman-installer/modules/foreman/manifests/database/postgresql.pp:18
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/puppet_stack.rb:41:in `stack'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:314:in `call_function'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:964:in `call_function_with_block'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:933:in `eval_CallNamedFunctionExpression'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:1028:in `block in eval_IfExpression'
[ERROR 2020-05-17T06:28:55 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:983:in `with_guarded_scope'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:1026:in `eval_IfExpression'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `block in eval_BlockExpression'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `each'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `reduce'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/parser/evaluating_parser.rb:63:in `evaluate'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:32:in `evaluate'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:72:in `block (2 levels) in evaluate'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `catch'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `block in evaluate'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `catch'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `evaluate'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast.rb:31:in `safeevaluate'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:136:in `evaluate_code'
[ERROR 2020-05-17T06:28:56 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:457:in `evaluate_parent_type'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:117:in `evaluate_code'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:457:in `evaluate_parent_type'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:117:in `evaluate_code'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `each'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `evaluate_classes'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions/include.rb:48:in `include'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatch.rb:60:in `invoke'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:43:in `block in dispatch'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `catch'
[ERROR 2020-05-17T06:28:57 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `dispatch'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:46:in `block in call'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `catch'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `call'
[ERROR 2020-05-17T06:28:58 main] /usr/lib/ruby/vendor_ruby/kafo/modules/kafo_configure/manifests/init.pp:14
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/puppet_stack.rb:41:in `stack'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:305:in `block in call_function'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:303:in `call_function'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:964:in `call_function_with_block'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:933:in `eval_CallNamedFunctionExpression'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `block in eval_BlockExpression'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `each'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `reduce'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/parser/evaluating_parser.rb:63:in `evaluate'
[ERROR 2020-05-17T06:28:58 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:32:in `evaluate'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:72:in `block (2 levels) in evaluate'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `catch'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `block in evaluate'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `catch'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `evaluate'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast.rb:31:in `safeevaluate'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:136:in `evaluate_code'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `each'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `evaluate_classes'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_resource_support.rb:61:in `block in create_resources'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_resource_support.rb:37:in `map'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_resource_support.rb:37:in `create_resources'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:341:in `create_resources'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:865:in `block in eval_ResourceExpression'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:862:in `map'
[ERROR 2020-05-17T06:28:59 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:862:in `eval_ResourceExpression'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `block in eval_BlockExpression'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `each'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `reduce'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:1028:in `block in eval_IfExpression'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:983:in `with_guarded_scope'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:1026:in `eval_IfExpression'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `block in eval_BlockExpression'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `each'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `reduce'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/parser/evaluating_parser.rb:63:in `evaluate'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:32:in `evaluate'
[ERROR 2020-05-17T06:29:00 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:72:in `block (2 levels) in evaluate'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `catch'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `block in evaluate'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `catch'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `evaluate'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast.rb:31:in `safeevaluate'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:136:in `evaluate_code'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `each'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `evaluate_classes'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_resource_support.rb:61:in `block in create_resources'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_resource_support.rb:37:in `map'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_resource_support.rb:37:in `create_resources'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:341:in `create_resources'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:865:in `block in eval_ResourceExpression'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:862:in `map'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:862:in `eval_ResourceExpression'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:01 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:358:in `eval_BinaryExpression'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:487:in `eval_RelationshipExpression'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:358:in `eval_BinaryExpression'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:487:in `eval_RelationshipExpression'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:358:in `eval_BinaryExpression'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:487:in `eval_RelationshipExpression'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:358:in `eval_BinaryExpression'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:487:in `eval_RelationshipExpression'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:48:in `block in visit_this'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:42:in `each'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:42:in `visit_this'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:92:in `visit_this_1'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `block in eval_BlockExpression'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `each'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `reduce'
[ERROR 2020-05-17T06:29:02 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/parser/evaluating_parser.rb:63:in `evaluate'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:32:in `evaluate'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:72:in `block (2 levels) in evaluate'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `catch'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `block in evaluate'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `catch'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `evaluate'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast.rb:31:in `safeevaluate'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:136:in `evaluate_code'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `each'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `evaluate_classes'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions/include.rb:48:in `include'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatch.rb:60:in `invoke'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:43:in `block in dispatch'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `catch'
[ERROR 2020-05-17T06:29:03 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `dispatch'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:46:in `block in call'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `catch'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `call'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:119:in `block in internal_call_function'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:118:in `internal_call_function'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions.rb:678:in `call_function_with_scope'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions/hiera_include.rb:102:in `post_lookup'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/hiera/puppet_function.rb:46:in `hiera_no_default'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatch.rb:60:in `invoke'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:43:in `block in dispatch'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `catch'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `dispatch'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:46:in `block in call'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `catch'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `call'
[ERROR 2020-05-17T06:29:04 main] unknown:224
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/puppet_stack.rb:41:in `stack'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:305:in `block in call_function'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:04 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:303:in `call_function'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:964:in `call_function_with_block'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:933:in `eval_CallNamedFunctionExpression'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `block in eval_BlockExpression'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `each'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `reduce'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/parser/evaluating_parser.rb:63:in `evaluate'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:32:in `evaluate'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:72:in `block (2 levels) in evaluate'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `catch'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `block in evaluate'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `catch'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `evaluate'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast.rb:31:in `safeevaluate'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:136:in `evaluate_code'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:29:05 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `each'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `evaluate_classes'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions/include.rb:48:in `include'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatch.rb:60:in `invoke'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:43:in `block in dispatch'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `catch'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `dispatch'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:46:in `block in call'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `catch'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `call'
[ERROR 2020-05-17T06:29:06 main] unknown:0
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/puppet_stack.rb:41:in `stack'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:305:in `block in call_function'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:303:in `call_function'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:964:in `call_function_with_block'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:933:in `eval_CallNamedFunctionExpression'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:06 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `block in eval_BlockExpression'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `each'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `reduce'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:48:in `block in visit_this'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:42:in `each'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:42:in `visit_this'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:92:in `visit_this_1'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/puppet_stack.rb:41:in `stack'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:737:in `eval_Program'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:48:in `block in visit_this'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:42:in `each'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:42:in `visit_this'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:92:in `visit_this_1'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/parser/evaluating_parser.rb:63:in `evaluate'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:125:in `evaluate'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast.rb:31:in `safeevaluate'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:136:in `evaluate_code'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:29:07 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:592:in `evaluate_main'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:166:in `block (2 levels) in compile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:166:in `block in compile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:263:in `override'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:155:in `compile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:35:in `compile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:303:in `block (2 levels) in compile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:301:in `block in compile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:299:in `compile'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:54:in `block in find'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/node/environment.rb:450:in `with_text_domain'
[ERROR 2020-05-17T06:29:08 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:53:in `find'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:198:in `find'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:262:in `block in main'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:263:in `override'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:690:in `exit_on_fail'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:139:in `run'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
[ INFO 2020-05-17T06:29:09 main] Puppet has finished, bye!
[ INFO 2020-05-17T06:29:09 main] Executing hooks in group post
[DEBUG 2020-05-17T06:29:09 main] Hook /usr/share/foreman-installer/hooks/post/10-post_install_message.rb returned nil
[ INFO 2020-05-17T06:29:09 main] All hooks in group post finished
[DEBUG 2020-05-17T06:29:09 main] Exit with status code: 1 (signal was 1)
[ERROR 2020-05-17T06:29:09 main] Errors encountered during run:
[ERROR 2020-05-17T06:29:09 main] Evaluation Error: Error while evaluating a Function Call, No preferred version defined or automatically detected. (file: /usr/share/foreman-installer/modules/postgresql/manifests/globals.pp, line: 133, column: 5) on node debian.test.com
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/functions/fail.rb:3:in `block in <top (required)>'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/functions.rb:167:in `block in newfunction'
[ERROR 2020-05-17T06:29:09 main] /usr/share/foreman-installer/modules/foreman/manifests/database/postgresql.pp:18
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/puppet_stack.rb:41:in `stack'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:314:in `call_function'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:964:in `call_function_with_block'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:933:in `eval_CallNamedFunctionExpression'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:1028:in `block in eval_IfExpression'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:983:in `with_guarded_scope'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:1026:in `eval_IfExpression'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `block in eval_BlockExpression'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `each'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `reduce'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/parser/evaluating_parser.rb:63:in `evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:32:in `evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:72:in `block (2 levels) in evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `catch'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `block in evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `catch'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast.rb:31:in `safeevaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:136:in `evaluate_code'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:457:in `evaluate_parent_type'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:117:in `evaluate_code'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:457:in `evaluate_parent_type'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:117:in `evaluate_code'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `block in evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `each'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:386:in `evaluate_classes'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions/include.rb:48:in `include'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatch.rb:60:in `invoke'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:43:in `block in dispatch'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `catch'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/dispatcher.rb:42:in `dispatch'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:46:in `block in call'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `catch'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/functions/function.rb:45:in `call'
[ERROR 2020-05-17T06:29:09 main] /usr/lib/ruby/vendor_ruby/kafo/modules/kafo_configure/manifests/init.pp:14
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/puppet_stack.rb:41:in `stack'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:305:in `block in call_function'
[ERROR 2020-05-17T06:29:09 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'