Commit 076b5d3
Changed files (1)
recipes
recipes/aws.rb
@@ -6,16 +6,22 @@ home = "/home/#{node["stronglifters"]["username"]}"
directory "#{home}/.aws/" do
owner username
group username
- mode "0755"
+ mode "0700"
recursive true
action :create
end
configuration = node["stronglifters"]["aws"]
template "#{home}/.aws/config" do
+ owner username
+ group username
+ mode "0700"
variables(configuration)
end
template "#{home}/.aws/credentials" do
+ owner username
+ group username
+ mode "0700"
variables(configuration)
end