Sha256: c90050187f8067294640075f755e436bea684e52a36f0d1c3e250c9b98ad4b36

Contents?: true

Size: 240 Bytes

Versions: 125

Compression:

Stored size: 240 Bytes

Contents

class Specinfra::Command::Solaris::Base::KernelModule < Specinfra::Command::Base::KernelModule
  class << self
    def check_is_loaded(name)
      "modinfo -c | awk '$3 == \"#{escape(name)}\" { print $4 }' | grep ^LOADED"
    end
  end
end

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
specinfra-2.91.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.90.1 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.90.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.89.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.88.2 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.88.1 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.88.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.87.2 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.87.1 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.87.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.86.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.85.1 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.85.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.84.1 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.84.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.83.4 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.83.3 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.83.2 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.83.1 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.83.0 lib/specinfra/command/solaris/base/kernel_module.rb