Sha256: bc8b3e91b3fddccdf2783a20884901b6facc4f877317f04f8922f4dadaa5ab4a
Contents?: true
Size: 267 Bytes
Versions: 17
Compression:
Stored size: 267 Bytes
Contents
module Serverspec module Type class LinuxKernelParameter < Base def value ret = @runner.run_command("/sbin/sysctl -q -n #{@name}") val = ret.stdout.strip val = val.to_i if val.match(/^\d+$/) val end end end end
Version data entries
17 entries across 17 versions & 1 rubygems