Commit 4442168

mo khan <mo@mokhan.ca>
2015-12-24 22:18:26
hardcode home dir because it wont be there for first compile phase.
1 parent 316d60a
Changed files (1)
recipes
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