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: Could not convert change 'socket' to string: undefined method `keys' for nil:NilClass #447

Closed
poolski opened this issue Nov 20, 2015 · 3 comments

Comments

@poolski
Copy link
Contributor

poolski commented Nov 20, 2015

As of the latest commit (merging #443), I get the error above every time I run Puppet.

Any ideas?

@zbintliff
Copy link
Contributor

Me too.

@zbintliff
Copy link
Contributor

@poolski I figured it out. has to do with the "is_to_s" method when there was no bind previously. So should only effect people updating.

The module itself is ok, its only when it tries to log (hence why it passes spec tests). My quick and dirty was just to override the function on the host:

Notice: /Stage[main]/Sensu::Client::Config/Sensu_client_config[hostname]/socket: socket changed '' to {'bind' => '127.0.0.1', 'port' => '3030'}

@jlambert121
Copy link
Contributor

This should be resolved, let me know if it isn't!

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

3 participants