Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
Fix: create $HOME/.npm since it's sometimes not writable
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Jun 23, 2014
1 parent 0e19e9f commit d64af88
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nodejs/recipes/configure.rb
@@ -0,0 +1,8 @@
directory "#{node["opsworks"]["deploy_user"]["home"]}/.npm" do
user node["opsworks"]["deploy_user"]["user"]
group node["opsworks"]["deploy_user"]["group"]
mode 0755
only_if do
!node["opsworks"]["deploy_user"].nil?
end
end

0 comments on commit d64af88

Please sign in to comment.