Skip to content

Commit

Permalink
Merge pull request #178 from shoekstra/fix_ubuntu_tests
Browse files Browse the repository at this point in the history
Make ubuntu tests pass
  • Loading branch information
artem-sidorenko authored Nov 16, 2017
2 parents 0476764 + c545dd2 commit 568b327
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipes/minimize_access.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@
mode '0750'
not_if { node['os-hardening']['security']['users']['allow'].include?('change_user') }
end

# /var/log should restricted to root or syslog on ubuntu systems
directory '/var/log' do
owner 'root'
group node['platform'] == 'ubuntu' ? 'syslog' : 'root'
end

0 comments on commit 568b327

Please sign in to comment.