summaryrefslogtreecommitdiff
path: root/lib/chef/resource/sysctl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/sysctl.rb')
-rw-r--r--lib/chef/resource/sysctl.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/resource/sysctl.rb b/lib/chef/resource/sysctl.rb
index 240f45e60f..82dbe61081 100644
--- a/lib/chef/resource/sysctl.rb
+++ b/lib/chef/resource/sysctl.rb
@@ -57,7 +57,6 @@ class Chef
def after_created
raise "The sysctl resource requires Linux as it needs sysctl and the sysctl.d directory functionality." unless node["os"] == "linux"
- raise "The sysctl resource does not support SLES releases less than 12 as it requires a sysctl.d directory" if platform_family?("suse") && node["platform_version"].to_i < 12
end
def coerce_value(v)