Closed 123BLiN closed 7 years ago
I'm attempting to use 2.3.0 and having the same problem. On a Google search, it looks like an LVM cookbook was having the same problem:
https://github.com/chef-cookbooks/lvm/issues/115
It looks like the Platform Introspection DSL needs to be added to the library:
https://github.com/chef-cookbooks/lvm/pull/116/files
I looked through this cookbook's source and I'm not seeing it. I was going to add it, but wanted to verify I wasn't doing anything wrong.
Hello again :) In my case the problem was in the fact that I've forked the wrong cookbook version (master) instead on v2.3.0.
the problem is in that line: https://github.com/johnbellone/consul-cookbook/blob/master/libraries/consul_service.rb#L93 vs https://github.com/johnbellone/consul-cookbook/blob/v2.3.0/libraries/consul_service.rb#L93
thanks @maxnasonov for finding this out!
I'm figuring that's my problem too then. Didn't even think and pulled down master to look at the cookbook and then proceeded to use it instead of the 2.3.0 branch. I'll give that a shot.
Thanks for pointing it out!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Chef-client version - 12.6.0 consul-cookbook - 2.3.0 Centos 7
Can someone advice what to do with such error?: