analytics1003 fails to catalog compilation with a puppet 4 master. The error shown is:
Catalog failed: Failed to retrieve catalog from https://puppetmaster2001.codfw.wmnet:8140/future/catalog/analytics1003.eqiad.wmnet: 500 {"message":"Server Error: Evaluation Error: Error while evaluating a Function Call, hiera() can only be called using the 4.x function API. See Scope#call_function at /etc/puppet/modules/role/manifests/analytics_cluster/refinery/job/camus.pp:8:21 on node analytics1003.eqiad.wmnet","issue_kind":"RUNTIME_ERROR","stacktrace":["Warning: The 'stacktrace' property is deprecated and will be removed in a future version of Puppet. For security reasons, stacktraces are not returned with Puppet HTTP Error responses."]}
The offending line appears to be a call to kafka_config()
More info from the puppetmaster log:
Server Error: Evaluation Error: Error while evaluating a Function Call, hiera() can only be called using the 4.x function API. See Scope#call_function at /etc/puppet/modules/role/manifests/analytics_cluster/refinery/job/camus.pp:8 :21 on node analytics1003.eqiad.wmnet /usr/lib/ruby/vendor_ruby/puppet/parser/functions.rb:275:in `is4x' /usr/lib/ruby/vendor_ruby/puppet/parser/functions/hiera.rb:87:in `block in <module:Functions>' /usr/lib/ruby/vendor_ruby/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction' /usr/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile' /usr/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile' /usr/lib/ruby/vendor_ruby/puppet/parser/functions.rb:167:in `block in newfunction' /usr/lib/ruby/vendor_ruby/puppet/parser/scope.rb:1002:in `method_missing' /etc/puppet/modules/role/lib/puppet/parser/functions/kafka_config.rb:51:in `block in <module:Functions>' /usr/lib/ruby/vendor_ruby/puppet/parser/functions.rb:174:in `block (2 levels) in newfunction' /usr/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile' /usr/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile' /usr/lib/ruby/vendor_ruby/puppet/parser/functions.rb:167:in `block in newfunction' /etc/puppet/modules/role/manifests/analytics_cluster/refinery/job/camus.pp:8:in `stack' /usr/lib/ruby/vendor_ruby/puppet/pops/puppet_stack.rb:30:in `eval' /usr/lib/ruby/vendor_ruby/puppet/pops/puppet_stack.rb:30:in `stack'