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.28.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.28.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.27.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.27.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.26.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.26.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.25.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.25.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.24.2 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.24.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.24.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.23.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.22.0 lib/specinfra/helper/detect_os/openbsd.rb