lib/linux_admin.rb in linux_admin-0.1.2 vs lib/linux_admin.rb in linux_admin-0.1.3

- old
+ new

@@ -1,35 +1,25 @@ require 'more_core_extensions/all' require 'active_support/core_ext' +require 'linux_admin/registration_system' + require 'linux_admin/common' -require 'linux_admin/rhn' +require 'linux_admin/exceptions' 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' require 'linux_admin/fstab' +require 'linux_admin/logical_volume' +require 'linux_admin/physical_volume' +require 'linux_admin/volume_group' 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