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.36.13 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.12 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.11 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.10 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.9 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.8 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.7 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.6 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.5 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.4 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.3 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.2 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.36.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.35.1 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.35.0 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.34.9 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.34.8 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.34.7 lib/specinfra/helper/detect_os/openbsd.rb
specinfra-2.34.6 lib/specinfra/helper/detect_os/openbsd.rb