-
Notifications
You must be signed in to change notification settings - Fork 59
Detail: undefined method `each_with_index' for nil:NilClass #53
Comments
What version of puppet are you using? I could be wrong but looks like some sort of variable scope issue - for some reason your puppet didn't assign array from $uchiwa_api_config to @sensu_api_endpoints on https://github.com/somic/puppet-uchiwa/blob/master/templates/etc/sensu/uchiwa.json.erb#L4 I just created a test for this situation and it passes on our puppet 3.8 |
Hi, @somic thanks for your answer. |
Hm, 4.2 is new. I don't know if anyone ever tested this module on 4.2 or tried to make it work there. Let's see if we get more opinions here but at this point my guess would be that this module doesn't work in puppet 4.2 yet. |
While using the 0.3.0 version of the module, with parser set to future in a puppet 3.8.1 installation puppet complained a lot about all sorts of params not being of the right type (string, ...). Gave the values for the default params with additional quotes as required and then got the same error as the one reported here. Using the same installation and module version but without the future parser issues don't appear anymore. |
I've release 1.0.0, hopefully this contains all the fixes required for this issue? |
Earlier this morning I tested this module from master using Puppet 4.2.2 and worked fine (except for an issue with the sensu apt repo key, which I have fixed in #62). I expect v1.0.0 should work great with Puppet 4.2.2. |
ty @queeno. I did a quick release of 1.0.1 to get that Apt key fix. (looks like they changed it on 2015-08-31) |
@betorvs can you try updating and closing the issue if you are good to go? |
Hi @solarkennedy , I tested here and works well. |
Hi, I'm trying use this class, but I receive this error:
My profile is:
Why's this error happen?
It's a fresh puppetserver installation.
The text was updated successfully, but these errors were encountered: