Sha256: 3572391b1b7c4c861bbbcc35992e2212f35aaf19fd0999b5a1758ea1d71e5496

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

class PEBuild::Cap::DetectInstaller::Redhat < PEBuild::Cap::DetectInstaller::POSIX

  def name
    'el'
  end

  def release_file
    '/etc/redhat-release'
  end

  def release_file_format
    %r[release (\d+)\.\d+]
  end

  def supported_releases
    %w[5 6 7 8]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-pe_build-0.19.2 lib/pe_build/cap/detect_installer/redhat.rb
vagrant-pe_build-0.19.1 lib/pe_build/cap/detect_installer/redhat.rb
vagrant-pe_build-0.19.0 lib/pe_build/cap/detect_installer/redhat.rb