Sha256: a94d410dcb6c3f79d33b4daefc30a7b17e5129cdf07ff03d061cf00b5e06efbe

Contents?: true

Size: 209 Bytes

Versions: 86

Compression:

Stored size: 209 Bytes

Contents

class Specinfra::Helper::DetectOs::Openbsd < Specinfra::Helper::DetectOs
  def self.detect
    if run_command('uname -s').stdout =~ /OpenBSD/i
      { :family => 'openbsd', :release => nil }
    end
  end
end

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
specinfra-2.4.5 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.4.4 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.4.3 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.4.2 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.4.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.4.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.3.2 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.3.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.3.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.2.4 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.2.3 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.2.2 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.2.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.2.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.1.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.1.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.0.4 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.0.3 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.0.2 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.0.1 lib/specinfra/helper/detect_os/openbsd.rb