summaryrefslogtreecommitdiff
path: root/lib/chef/resource/service.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-11-08 16:05:40 -0800
committerStuart Preston <stuart@chef.io>2018-11-09 17:57:42 +0000
commit2ddf17cf186aac08931b6b85ef04ca96860e9e40 (patch)
tree8574919f35c0e00091c32426883953ef4b93f4a6 /lib/chef/resource/service.rb
parentfa96efd1fbb38b8107537a3f25961f8ef4d3cb4a (diff)
downloadchef-sp/7903backport.tar.gz
Make sure we define windows_task resource on *nix systemssp/7903backport
Move the if windows statement from the entire resource to the actual place where we used Windows specific code. This makes it so we can use chefspec and the chef-resource-inspector for this resource. Signed-off-by: Tim Smith <tsmith@chef.io> (cherry picked from commit 8757bab03081dcbcec159614b67969a9387900bf)
Diffstat (limited to 'lib/chef/resource/service.rb')
0 files changed, 0 insertions, 0 deletions