Sha256: abc153f11e2461377a9524393c1beb27324d8350f78d089c5299a450708c730f

Contents?: true

Size: 676 Bytes

Versions: 1

Compression:

Stored size: 676 Bytes

Contents

require 'more_core_extensions/all'
require 'active_support/core_ext'

require 'linux_admin/common'
require 'linux_admin/rhn'
require 'linux_admin/rpm'
require 'linux_admin/subscription_manager'
require 'linux_admin/version'
require 'linux_admin/yum'

require 'linux_admin/service'
require 'linux_admin/disk'
require 'linux_admin/partition'
require 'linux_admin/distro'
require 'linux_admin/system'

class LinuxAdmin
  extend Common
  include Common

  def self.registered?
    !!self.registration_type
  end

  def self.registration_type
    if SubscriptionManager.registered?
      SubscriptionManager
    elsif Rhn.registered?
      Rhn
    else
      nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
linux_admin-0.1.1 lib/linux_admin.rb