We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03ee006 commit 2644bf9Copy full SHA for 2644bf9
accounts/definitions/account.rb
@@ -39,7 +39,7 @@
39
group params[:gid] || params[:group]
40
mode "0700"
41
not_if do
42
- ::Dir.exist?("#{node[:accounts][:dir]}/#{params[:name]}/.ssh")
+ ::File.exist?("#{node[:accounts][:dir]}/#{params[:name]}/.ssh")
43
end
44
45
0 commit comments