Class: Maestro::OperatingSystem::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/maestro/operating_system.rb

Overview

An operating system

Direct Known Subclasses

CentOs, Debian, Fedora, Ubuntu

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(etc_issue_string) ⇒ Base

Returns a new instance of Base.



45
46
47
# File 'lib/maestro/operating_system.rb', line 45

def initialize(etc_issue_string)
  @etc_issue_string = etc_issue_string
end

Instance Attribute Details

#chef_install_scriptObject (readonly)

Returns the value of attribute chef_install_script.



43
44
45
# File 'lib/maestro/operating_system.rb', line 43

def chef_install_script
  @chef_install_script
end

#etc_issue_stringObject (readonly)

Returns the value of attribute etc_issue_string.



43
44
45
# File 'lib/maestro/operating_system.rb', line 43

def etc_issue_string
  @etc_issue_string
end

#nameObject (readonly)

Returns the value of attribute name.



43
44
45
# File 'lib/maestro/operating_system.rb', line 43

def name
  @name
end

#versionObject (readonly)

Returns the value of attribute version.



43
44
45
# File 'lib/maestro/operating_system.rb', line 43

def version
  @version
end