summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-12-24 15:18:26 -0700
committermo khan <mo@mokhan.ca>2015-12-24 15:18:26 -0700
commit444216841cfd825c24751d4a8c4619100cbebf22 (patch)
treea982941e5c3852411ca0fbecd619438215a540ed
parent316d60ae4af7f7fb2cb0d8bbbb6df9a3db257ab6 (diff)
hardcode home dir because it wont be there for first compile phase.
-rw-r--r--recipes/aws.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/aws.rb b/recipes/aws.rb
index e23eac7..1a9d86a 100644
--- a/recipes/aws.rb
+++ b/recipes/aws.rb
@@ -2,7 +2,7 @@ package "python-pip"
execute "pip install awscli"
username = node["stronglifters"]["username"]
-home = node['etc']['passwd'][username]['dir']
+home = "/home/#{node["stronglifters"]["username"]}"
directory "#{home}/.aws/" do
owner username
group username