Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing on CentOS #12

Closed
LordBrain opened this issue Feb 25, 2014 · 3 comments
Closed

Error installing on CentOS #12

LordBrain opened this issue Feb 25, 2014 · 3 comments

Comments

@LordBrain
Copy link

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?

@jhoblitt
Copy link
Owner

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?

@LordBrain
Copy link
Author

Sorry, I am very new to puppet. Are you referring to something within foreman or the gmetad.pp?

jhoblitt pushed a commit that referenced this issue May 16, 2014
This should address the confusing template error reported in #12 when
incorrect data is passed to this parameter.
@jhoblitt
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants