sous-chefs / consul

Development repository for the consul cookbook
https://supermarket.chef.io/cookbooks/consul
Apache License 2.0
192 stars 244 forks source link

Error message when running the server enable action on windows #436

Closed brentm5 closed 7 years ago

brentm5 commented 7 years ago

We are using a relatively older version of this cookbook (1.4.3) and today we started seeing an error which was really vague. Ended up tracking it down to the new version of nssm. It might make sense to actually lock this cookbook down to at least be ~> 2.0. I am not sure if any other versions were affected by this as well however.

==============================================================
           Error executing action `enable` on resource 'consul_service[consul]'
==============================================================
           ArgumentError
           -------------
           wrong number of arguments (1 for 0)
legal90 commented 7 years ago

@brentm5 Have you tried the latest state of consul cookbook from master branch? It should be fixed by https://github.com/johnbellone/consul-cookbook/pull/422 (not released yet)

brentm5 commented 7 years ago

Nope, but if that solves the issue its good enough for me. I just didn't see a fix anywhere. Ill go ahead and close out my PR as well.

lock[bot] commented 4 years ago

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.