Please only create them for Ubuntu, not for all distros:
```only_if { node[:platform] == "ubuntu" }```