Skip to content

Commit 4062a22

Browse files
Merge pull request #179 from shoekstra/fix_fedora_tests
Make fedora tests pass
2 parents bb6a35f + 30b3df9 commit 4062a22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

attributes/default.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484

8585
# RH has a bit different defaults on some places
8686
case node['platform_family']
87-
when 'rhel', 'fedora'
87+
when 'rhel'
8888
default['os-hardening']['env']['umask'] = '077'
8989
default['os-hardening']['auth']['sys_uid_min'] = 201
9090
default['os-hardening']['auth']['sys_gid_min'] = 201

recipes/minimize_access.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
file '/etc/shadow' do
3535
owner 'root'
3636
case node['platform_family']
37-
when 'rhel', 'fedora'
37+
when 'rhel'
3838
group 'root'
3939
mode '0000'
4040
when 'debian'

0 commit comments

Comments
 (0)