diff options
author | danielsdeleo <dan@getchef.com> | 2015-05-13 19:20:32 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2015-05-20 15:13:57 -0700 |
commit | 68d6b10124b96012594d0a4fbe099eda738111b3 (patch) | |
tree | 3530dc61c41fb3203de925bdbd7ca798cdd246c6 /lib/chef/platform | |
parent | 1428270b0f2d0f2ae5d62ecb2aa512ffa7ac773e (diff) | |
download | chef-68d6b10124b96012594d0a4fbe099eda738111b3.tar.gz |
Stub `windows?` on ChefConfig so it applies to config
Diffstat (limited to 'lib/chef/platform')
-rw-r--r-- | lib/chef/platform/query_helpers.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/chef/platform/query_helpers.rb b/lib/chef/platform/query_helpers.rb index f7c85fbe23..03b1c9ca1e 100644 --- a/lib/chef/platform/query_helpers.rb +++ b/lib/chef/platform/query_helpers.rb @@ -21,11 +21,7 @@ class Chef class << self def windows? - if RUBY_PLATFORM =~ /mswin|mingw|windows/ - true - else - false - end + ChefConfig.windows? end def windows_server_2003? |