Closed LordBrain closed 10 years ago
This is almost certainly the template failing to handle a nil/undef value. Could you share the manifest snippet in which your declaring ganglia::gmetad
?
Sorry, I am very new to puppet. Are you referring to something within foreman or the gmetad.pp?
PR #14 added parameter validation that prevent invalid data from being passed into the ganglia::gmetad
clusters
parameter that could cause the sort of template error you reported. Please reopen this ticket if the error can be reproduced from the current master branch.
Trying to install this module with foreman/puppet I get the following error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template ganglia/gmetad.conf.el6.erb: Filepath: /etc/puppet/environments/unstable/modules/ganglia/templates/gmetad.conf.el6.erb Line: 39 Detail: undefined method `each' for nil:NilClass at /etc/puppet/environments/unstable/modules/ganglia/manifests/gmetad/config.pp:21 on node host1.example.com warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run
Is my system missing something?