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

Windows fixes for 3 0 0 #452

Closed gdavison closed 7 years ago

gdavison commented 7 years ago

When a master ACL is set on the cluster, the service reload requires the ACL token; this is now added to the Windows service as well.

I've added Windows 2016 to the testing suite, as well as using Matt Wrock's Vagrant boxes as the default for Windows. This means that developers aren't stuck with the choices of rolling their own Windows boxes or skipping testing on Windows.

gdavison commented 7 years ago

Most of the foodcritic failures are in code not touched by this PR

codecov-io commented 7 years ago

Codecov Report

Merging #452 into master will decrease coverage by 4.33%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #452      +/-   ##
==========================================
- Coverage   62.11%   57.77%   -4.34%     
==========================================
  Files           7        7              
  Lines         359      360       +1     
==========================================
- Hits          223      208      -15     
- Misses        136      152      +16
Impacted Files Coverage Δ
libraries/consul_service_windows.rb 22.95% <0%> (ø) :arrow_up:
libraries/consul_service.rb 57.14% <100%> (+0.89%) :arrow_up:
libraries/consul_watch.rb 48.48% <0%> (-42.43%) :arrow_down:
libraries/helpers.rb 47.36% <0%> (-5.27%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a552ae7...aa024b5. Read the comment docs.

gdavison commented 7 years ago

Lol, coverage went down when I added tests

gdavison commented 7 years ago

@legal90, any chance you could take a look at this? It's blocking ACL use on Windows.

legal90 commented 7 years ago

@gdavison Thank you! LGTM

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.