case os[:family]
when %r(debian|ubuntu)
  package 'selinux-utils'
when %r(redhat|fedora)
  package 'libselinux-utils'
end

case node[:platform]
when %r(debian|ubuntu)
  package 'selinux-utils'
when %r(redhat|fedora)
  package 'libselinux-utils'
end

Use node[:platform] instead of os[:family]
Use node[:platform] instead of os[:family]
