# Define Packages for this OS to be installed during OS Installation. <% if @obj.nil? -%> os.<%= @name -%> do |pkg| <% else -%> os.<%= @name -%> do |pkg| <% end -%>

# List of Packages that needs to be installed. Notice the "+=" as 
# this construct always adds to the default packages particular to
# the given OS.
<% if @obj.nil? || @obj.list.nil? -%>
#pkg.list += ['open-ssh-server']
<% else -%>
pkg.list  +=  <%= @obj.list.to_s %>
<% end  -%>

<% if @obj.nil? -%> end <% else -%> end <% end -%>