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

Use node[:platform] instead of os[:family]
user
```ruby
case node[:platform]
when %r(debian|ubuntu)
  package 'selinux-utils'
when %r(redhat|fedora)
  package 'libselinux-utils'
end
```
assistant