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

undefined method `each' for nil:NilClass #25

Closed
NoodlesNZ opened this issue Nov 18, 2014 · 2 comments
Closed

undefined method `each' for nil:NilClass #25

NoodlesNZ opened this issue Nov 18, 2014 · 2 comments

Comments

@NoodlesNZ
Copy link
Contributor

I've been seeing this error message when trying to install ganglia::gmetad

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template ganglia/gmetad.conf.erb:
Filepath: /etc/puppet/modules/ganglia/templates/gmetad.conf.erb
Line: 44
Detail: undefined method `each' for nil:NilClass
on node log.example.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

This is the manifest code:

$clusters = [
      {
        name     => 'test',
        address  => ['test1.example.org', 'test2.example.org'],
      },
    ]

  class{ 'ganglia::gmetad':
    clusters => $clusters,
    gridname => 'my grid',
  }
@NoodlesNZ
Copy link
Contributor Author

Seems to be a problem with the future parser

@NoodlesNZ
Copy link
Contributor Author

This seems to be fixed in PR #27

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

1 participant