you might add default values for optional attributes

@environment = attr[:environment] || "_default"
@run_list = attr[:run_list] || "role[base]"
@hostname = attr[:hostname] || ""
@color = attr[:color] || ""
@base_domain = attr[:base_domain] || ""
@domain = attr[:domain] || ""