gocd / go-cookbook

Cookbook that installs and configures the open-source ThoughtWorks Studios GoCD product
http://www.gocd.org/
Apache License 2.0
45 stars 66 forks source link

Fix Autoregister creation on windows #95

Closed watsonlu closed 7 years ago

watsonlu commented 7 years ago

Creating autoregister files does not work on windows because of the linux specific group settings in the template resource. It throws that weird group mapping error. Adding a windows specific call to the template resource without a group parameter fixes that.

tomzo commented 7 years ago

This isn't ideal solution, now if someone specifies owner and group of resource, it will be ignored. I am going to merge it anyway, since it is better this way than not working at all.