Method: ConfCtl::Generation::Host#initialize
- Defined in:
- lib/confctl/generation/host.rb
#initialize(machine, profile, id, toplevel, date, kernel_version, current: false, mc: nil) ⇒ Host
Returns a new instance of Host.
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/confctl/generation/host.rb', line 12 def initialize(machine, profile, id, toplevel, date, kernel_version, current: false, mc: nil) @host = machine.name @machine = machine @profile = profile @id = id @toplevel = toplevel @date = date @kernel_version = kernel_version @current = current @mc = mc end |