Skip to content

Commit

Permalink
Force string-string comparison to support string or symbol values for…
Browse files Browse the repository at this point in the history
… users array.
  • Loading branch information
freerobby committed Nov 2, 2011
1 parent ce8f520 commit e7d133e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/default.rb
Expand Up @@ -13,7 +13,7 @@
#you access key and secret.
node[:s3cmd][:users].each do |user|

home = user == :root ? "/root" : "/home/#{user}"
home = user.to_s == :root.to_s ? "/root" : "/home/#{user}"

template "s3cfg" do
path "#{home}/.s3cfg"
Expand Down

0 comments on commit e7d133e

Please sign in to comment.