specinfra 2.59.4 → 2.59.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9887f235ce373dcd861206f18418c363c202465
4
- data.tar.gz: 6c122064efb934b72cf1f0b86df97f457797cbbc
3
+ metadata.gz: 28135418fd384108aaf1553a74d158bc46997be9
4
+ data.tar.gz: 3b37f8eb9106585a08f42bd473a2efaaee55fb7b
5
5
  SHA512:
6
- metadata.gz: aa82e2ee4e5ec0d40717539286aecd462b590821b777151c62e78d659c299ca84bc20abeb068b029966ed3e454026ad668cdba20fa8fb6e931ee14773e6a2a67
7
- data.tar.gz: c3503491951e2de9a0df2b8b829c62e8a213a71457b77c881fcf20ef603d9910d84ee8ce61930ff361a4be2332301ed5dc4a62f315b43ff12abc4d78e6d244ec
6
+ metadata.gz: d7ee6045871c4cdf28d159a7bec66a8b3ba6791ef9bc109814a6ddd9b7fc2bfd895bd28a3d11357b0415886f06c7cda9b78b205cab6828819cf7f1bd5f7499b1
7
+ data.tar.gz: 11ab2d4446c9a87e05f3563b355a9de7cdbfeba2ca5d80f6743f18600e4a7315ccbe25e73de6254c992af8a226ca6171df91c2b0e6cd160c3f30661ceee5b2cd
@@ -273,6 +273,7 @@ require 'specinfra/command/solaris/base/host'
273
273
  require 'specinfra/command/solaris/base/inventory'
274
274
  require 'specinfra/command/solaris/base/ipfilter'
275
275
  require 'specinfra/command/solaris/base/ipnat'
276
+ require 'specinfra/command/solaris/base/kernel_module'
276
277
  require 'specinfra/command/solaris/base/package'
277
278
  require 'specinfra/command/solaris/base/port'
278
279
  require 'specinfra/command/solaris/base/service'
@@ -0,0 +1,7 @@
1
+ class Specinfra::Command::Solaris::Base::KernelModule < Specinfra::Command::Base::KernelModule
2
+ class << self
3
+ def check_is_loaded(name)
4
+ "modinfo -c | awk '$3 == \"#{escape(name)}\" { print $4 }' | grep ^LOADED"
5
+ end
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.59.4"
2
+ VERSION = "2.59.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.59.4
4
+ version: 2.59.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-30 00:00:00.000000000 Z
11
+ date: 2016-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp
@@ -406,6 +406,7 @@ files:
406
406
  - lib/specinfra/command/solaris/base/inventory.rb
407
407
  - lib/specinfra/command/solaris/base/ipfilter.rb
408
408
  - lib/specinfra/command/solaris/base/ipnat.rb
409
+ - lib/specinfra/command/solaris/base/kernel_module.rb
409
410
  - lib/specinfra/command/solaris/base/package.rb
410
411
  - lib/specinfra/command/solaris/base/port.rb
411
412
  - lib/specinfra/command/solaris/base/service.rb