From 66a2be7f33fed8ad0470d593cc5b2a3f2dafcb8c Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Fri, 23 Oct 2015 13:57:03 +0200 Subject: [PATCH] improvement: add complete linux support for kernel_module --- lib/resources/kernel_module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resources/kernel_module.rb b/lib/resources/kernel_module.rb index 2b7ed5eaa..0e9a3eba9 100644 --- a/lib/resources/kernel_module.rb +++ b/lib/resources/kernel_module.rb @@ -15,7 +15,7 @@ class KernelModule < Vulcano.resource(1) @module = modulename # this resource is only supported on Linux - return skip_resource 'The `kernel_module` resource is not supported on your OS.' if !%w{ubuntu debian redhat fedora arch}.include? vulcano.os[:family] + return skip_resource 'The `kernel_parameter` resource is not supported on your OS.' if !vulcano.os.linux? end def loaded?