Permalink
Browse files

Fix role generation

  • Loading branch information...
1 parent 9834ee1 commit c27026ce4a4a53fb2c4cff2812d4d9aa9154808f Gabriel Evans committed Dec 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rails-up/components/chef_role.rb
@@ -22,8 +22,8 @@ def to_s
role += "description #{description.inspect}\n" if description
role += array_to_args("run_list", run_list) + "\n" if run_list
role += array_to_args("env_run_lists", env_run_lists) + "\n" if env_run_lists
- role += "default_attributes #{default_attributes.inspect}\n" if default_attributes
- role += "override_attributes #{override_attributes.inspect}\n" if override_attributes
+ role += "default_attributes(#{default_attributes.inspect})\n" if default_attributes
+ role += "override_attributes(#{override_attributes.inspect})\n" if override_attributes
role
end

0 comments on commit c27026c

Please sign in to comment.