Sha256: 3bb02817a1948c916278eaffedcbc2589f70f76497e46ca9c85bbd79dbf6e81a

Contents?: true

Size: 251 Bytes

Versions: 187

Compression:

Stored size: 251 Bytes

Contents

class Specinfra::Helper::DetectOs::Poky < Specinfra::Helper::DetectOs
  def detect
    if ( uname = run_command('uname -r').stdout ) && uname =~ /poky/i
      { :family => 'poky', :release => run_command('cat /etc/version').stdout }
    end
  end
end

Version data entries

187 entries across 187 versions & 2 rubygems

Version Path
specinfra-2.91.0 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.90.1 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.90.0 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.89.0 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.88.2 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.88.1 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.88.0 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.87.2 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.87.1 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.87.0 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.86.0 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.85.1 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.85.0 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.84.1 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.84.0 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.83.4 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.83.3 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.83.2 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.83.1 lib/specinfra/helper/detect_os/poky.rb
specinfra-2.83.0 lib/specinfra/helper/detect_os/poky.rb