Sha256: 4dd736788e682ccfb29e8d3682bda215ead758886a3ecfdfba467464ad313e71

Contents?: true

Size: 204 Bytes

Versions: 53

Compression:

Stored size: 204 Bytes

Contents

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

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
specinfra-2.34.5 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.34.4 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.34.3 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.34.2 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.34.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.34.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.33.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.33.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.32.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.31.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.31.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.30.4 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.30.3 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.30.2 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.30.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.30.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.29.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.28.4 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.28.3 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.28.2 lib/specinfra/helper/detect_os/openbsd.rb