Class AutomateIt::PlatformManager::SunOS
In: lib/automateit/platform_manager/sunos.rb
Parent: AutomateIt::PlatformManager::Uname

Methods

Public Class methods

[Source]

# File lib/automateit/platform_manager/sunos.rb, line 5
  def self.token
    :sunos
  end

Public Instance methods

[Source]

# File lib/automateit/platform_manager/sunos.rb, line 24
  def _prepare
    return if @struct[:release]
    @struct[:distro] = "sun"
    @struct[:release] = `uname -r`.strip.downcase
    @struct
  end

[Source]

# File lib/automateit/platform_manager/sunos.rb, line 31
  def query(search)
    _prepare
    super(search)
  end

[Source]

# File lib/automateit/platform_manager/sunos.rb, line 36
  def single_vendor?
    return true
  end

[Validate]