Can you do a simple:
```
unless %w(redhat centos).include?(node.platform) 
 package "tgt"
else
 package "scsi-target-utils"
end
```

This is more readable.