I'd prefer if we did:

```ruby
if platform? "solaris2"
   cron "logrotate" do
    #snip
   end
end
```

I know it violates a foodcritic rule, but I think it makes a bit more sense.