lib/chef/sugar/platform.rb in chef-sugar-3.1.0 vs lib/chef/sugar/platform.rb in chef-sugar-3.1.1
- old
+ new
@@ -165,10 +165,10 @@
# @param [Chef::Node] node
#
# @return [Boolean]
#
def redhat_enterprise_linux?(node)
- node['platform'] == 'enterprise'
+ node['platform'] == 'redhat'
end
alias_method :redhat_enterprise?, :redhat_enterprise_linux?
#
# Determine if the current node is solaris2