diff --git a/itchef/cookbooks/cpe_helpers/libraries/cpe_helpers.rb b/itchef/cookbooks/cpe_helpers/libraries/cpe_helpers.rb index 46a6c01d..9444c70d 100644 --- a/itchef/cookbooks/cpe_helpers/libraries/cpe_helpers.rb +++ b/itchef/cookbooks/cpe_helpers/libraries/cpe_helpers.rb @@ -224,7 +224,7 @@ def self.linux? end def self.windows? - RUBY_PLATFORM =~ /mswin|mingw32|windows/ + RUBY_PLATFORM =~ /mswin|mingw|windows/ end def self.logged_on_user_query diff --git a/itchef/cookbooks/fb_helpers/libraries/fb_helpers.rb b/itchef/cookbooks/fb_helpers/libraries/fb_helpers.rb index 5d3b9d1d..2bd0f8a6 100644 --- a/itchef/cookbooks/fb_helpers/libraries/fb_helpers.rb +++ b/itchef/cookbooks/fb_helpers/libraries/fb_helpers.rb @@ -558,7 +558,7 @@ def self.linux? end def self.windows? - RUBY_PLATFORM =~ /mswin|mingw32|windows/ + RUBY_PLATFORM =~ /mswin|mingw|windows/ end # mountpoint? determines if a path string represents a mountpoint