But you can very well do:

```
if node[:platform] == "ubuntu"
  execute "stop rabbitmq" do
    ...
  end
  package "rabbitmq-server" do
    ...
    notifies ...
  end
else
  package "rabbitmq-server"
end
```