Skip to content

Commit

Permalink
Merge pull request dev-sec#10 from ehaselwanter/master
Browse files Browse the repository at this point in the history
fix foodcritic violations
  • Loading branch information
arlimus committed May 21, 2014
2 parents e0ace3b + 35c937c commit ae27f61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# Define the client package name
case platform
when "redhat", "centos", "fedora", "amazon", "oracle"
when "redhat", "centos", "fedora", "amazon", "oracle", "scientific"
default['sslclient']['package'] = "openssh-clients"
when "debian", "ubuntu"
default['sslclient']['package'] = "openssh-client"
Expand Down
2 changes: 1 addition & 1 deletion recipes/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
end

def get_key_from field
search("users","#{field}:*").map do |v|
search("users","#{field}:*").map do |v| # ~FC003 ignore footcritic violation
Chef::Log.info "ssh_server: installing ssh-keys for root access of user #{v['id']}"
v[field]
end.flatten
Expand Down

0 comments on commit ae27f61

Please sign in to comment.