rlibs/chassis.rb
def config
    details = Chassis.pkgs.dup
    details << ["tags"] + Chassis.tags unless Chassis.tags.empty?
    details << ["roles"] + Chassis.roles unless Chassis.roles.empty?
    details << ["kind"] + [Chassis.node_kind] if Chassis.node_kind
    details << Chassis.extra_config if Chassis.extra_config
    details
  end
# Construct the config (aka details)
#
# Returns Array (config)
Construct the config (aka details)
Returns Array (config)
Construct the config ( aka details ) Returns Array ( config )
def config
    details = Chassis.pkgs.dup
    details << ["tags"] + Chassis.tags unless Chassis.tags.empty?
    details << ["roles"] + Chassis.roles unless Chassis.roles.empty?
    details << ["kind"] + [Chassis.node_kind] if Chassis.node_kind
    details << Chassis.extra_config if Chassis.extra_config
    details
  end
def config details = Chassis . pkgs . dup details << [ "tags" ] + Chassis . tags unless Chassis . tags . empty? details << [ "roles" ] + Chassis . roles unless Chassis . roles . empty? details << [ "kind" ] + [ Chassis . node_kind ] if Chassis . node_kind details << Chassis . extra_config if Chassis . extra_config details end
Construct the config (aka details)
Returns Array (config)
Construct the config ( aka details ) Returns Array ( config )