Skip to content

Commit

Permalink
Rubocop hates freedom
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Thomas committed Jul 2, 2015
1 parent 0f6ec5b commit a267b95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions recipes/sysctl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@

node.default['sysctl']['params']['net']['core'].tap do |core|
core['somaxconn'] = 40_000
core['wmem_default'] = 8388608
core['wmem_max'] = 8388608
core['rmem_default'] = 8388608
core['rmem_max'] = 8388608
core['wmem_default'] = 8_388_608
core['wmem_max'] = 8_388_608
core['rmem_default'] = 8_388_608
core['rmem_max'] = 8_388_608
core['netdev_max_backlog'] = 10_000
end

Expand Down
2 changes: 1 addition & 1 deletion test/integration/sysctl/serverspec/sysctl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
end

persistence_file = case host_inventory['platform']
when 'redhat', 'fedora', 'amazon','debian', 'ubuntu'
when 'redhat', 'fedora', 'amazon', 'debian', 'ubuntu'
'/etc/sysctl.d/99-chef-attributes.conf'
else
'/etc/sysctl.conf'
Expand Down

0 comments on commit a267b95

Please sign in to comment.