Sha256: 5e8213ffefc552bfe1d22fadc4eb7646e91c4766183bb8f3d4d8814f19c33341

Contents?: true

Size: 1.35 KB

Versions: 10

Compression:

Stored size: 1.35 KB

Contents

require 'more_core_extensions/all'

require 'linux_admin/logging'
require 'linux_admin/null_logger'

require 'linux_admin/common'
require 'linux_admin/exceptions'
require 'linux_admin/package'
require 'linux_admin/registration_system'
require 'linux_admin/rpm'
require 'linux_admin/deb'
require 'linux_admin/version'
require 'linux_admin/yum'
require 'linux_admin/ssh'
require 'linux_admin/ssh_agent'
require 'linux_admin/service'
require 'linux_admin/mountable'
require 'linux_admin/disk'
require 'linux_admin/hardware'
require 'linux_admin/hosts'
require 'linux_admin/partition'
require 'linux_admin/etc_issue'
require 'linux_admin/distro'
require 'linux_admin/system'
require 'linux_admin/fstab'
require 'linux_admin/volume'
require 'linux_admin/logical_volume'
require 'linux_admin/physical_volume'
require 'linux_admin/volume_group'
require 'linux_admin/scap'
require 'linux_admin/time_date'
require 'linux_admin/ip_address'
require 'linux_admin/dns'
require 'linux_admin/network_interface'
require 'linux_admin/chrony'
require 'forwardable'

module LinuxAdmin
  class << self
    extend Forwardable
    extend Gem::Deprecate
    attr_writer :logger

    def_delegators Common, :run
    def_delegators Common, :run!
    deprecate :run,  "AwesomeSpawn.run",  2017, 6
    deprecate :run!, "AwesomeSpawn.run!", 2017, 6
  end

  def self.logger
    @logger ||= NullLogger.new
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
linux_admin-1.2.4 lib/linux_admin.rb
linux_admin-1.2.3 lib/linux_admin.rb
linux_admin-1.2.2 lib/linux_admin.rb
linux_admin-1.2.1 lib/linux_admin.rb
linux_admin-1.0.1 lib/linux_admin.rb
linux_admin-1.2.0 lib/linux_admin.rb
linux_admin-1.1.0 lib/linux_admin.rb
linux_admin-1.0.0 lib/linux_admin.rb
linux_admin-0.20.2 lib/linux_admin.rb
linux_admin-0.20.1 lib/linux_admin.rb