Skip to content

Commit

Permalink
Keep the same naming convention everywhere
Browse files Browse the repository at this point in the history
They are defined as ssh_keys in the system_user resource
  • Loading branch information
gerhard committed Mar 26, 2013
1 parent 74d913c commit 06ba66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/apps.rb
@@ -1,7 +1,7 @@
node[:apps].each do |app| node[:apps].each do |app|
users_with_deploy_privileges = node[:system_users].inject([]) { |result, (user, user_properties)| users_with_deploy_privileges = node[:system_users].inject([]) { |result, (user, user_properties)|
if user_properties.fetch(:groups) { [] }.include?("deploy") if user_properties.fetch(:groups) { [] }.include?("deploy")
result << user_properties[:keys] result << user_properties[:ssh_keys]
end end
result result
}.flatten }.flatten
Expand Down

0 comments on commit 06ba66c

Please sign in to comment.